]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/timer.c
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / kern / timer.c
index 7cce6afe31c340f62fb45c2fb05ba5ab4c830f21..901dbd9ee75fcd9dc6173cb1545e24281835f188 100644 (file)
@@ -56,7 +56,6 @@
 /* 
  */
 
-#include <stat_time.h>
 #include <machine_timer_routines.h>
 
 #include <mach/kern_return.h>
@@ -67,6 +66,8 @@
 #include <kern/sched_prim.h>
 #include <kern/timer.h>
 
+int precise_user_kernel_time = 1;
+
 /*
  *     timer_init initializes a timer.
  */
@@ -74,9 +75,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 +119,6 @@ timer_advance(
 #endif         /* defined(__LP64__) */
 }
 
-#if    !STAT_TIME
-
 void
 timer_start(
        timer_t         timer,
@@ -188,5 +185,3 @@ thread_timer_event(
 }
 
 #endif /* MACHINE_TIMER_ROUTINES */
-
-#endif /* STAT_TIME */