X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..4b17d6b6e417f714551ec129064745ea9919780e:/osfmk/kern/timer.c diff --git a/osfmk/kern/timer.c b/osfmk/kern/timer.c index 7cce6afe3..02a088597 100644 --- a/osfmk/kern/timer.c +++ b/osfmk/kern/timer.c @@ -56,7 +56,6 @@ /* */ -#include #include #include @@ -67,6 +66,12 @@ #include #include +#if CONFIG_EMBEDDED +int precise_user_kernel_time = 0; +#else +int precise_user_kernel_time = 1; +#endif + /* * timer_init initializes a timer. */ @@ -74,9 +79,7 @@ void timer_init( timer_t timer) { -#if !STAT_TIME timer->tstamp = 0; -#endif /* STAT_TIME */ #if defined(__LP64__) timer->all_bits = 0; #else @@ -120,8 +123,6 @@ timer_advance( #endif /* defined(__LP64__) */ } -#if !STAT_TIME - void timer_start( timer_t timer, @@ -188,5 +189,3 @@ thread_timer_event( } #endif /* MACHINE_TIMER_ROUTINES */ - -#endif /* STAT_TIME */