Fix for SPROFILE == 0

- contributed by Antoine Leca
This commit is contained in:
Tomas Hruby
2011-05-25 09:42:11 +02:00
parent 5582aae6d6
commit 423be1545c
3 changed files with 14 additions and 1 deletions

View File

@@ -288,9 +288,10 @@ PUBLIC void context_stop_idle(void)
if (is_idle)
restart_local_timer();
#if SPROFILE
if (sprofiling)
get_cpulocal_var(idle_interrupted) = 1;
#endif
}
PUBLIC u64_t ms_2_cpu_time(unsigned ms)