From c293e154b0475bd73111867ab026e1ea2429fdff Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Wed, 13 Mar 2013 14:42:06 -0700 Subject: [PATCH] Start sleep calibration for *nix platforms on a clock tick --- sim_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sim_timer.c b/sim_timer.c index 2fb5d5cb..eeb2bb96 100644 --- a/sim_timer.c +++ b/sim_timer.c @@ -415,6 +415,7 @@ uint32 sim_os_ms_sleep_init (void) { uint32 i, t1, t2, tot, tim; +sim_os_ms_sleep (1); /* Start sampling on a tick boundary */ for (i = 0, tot = 0; i < sleep1Samples; i++) { t1 = sim_os_msec (); sim_os_ms_sleep (1);