]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/clock.h
xnu-3247.1.106.tar.gz
[apple/xnu.git] / osfmk / kern / clock.h
index b2e4b77bf6f2ef5b92f237af4b9d071e17eda8e9..8918ca3c16b71097f09b27e0a656c0ca73f4d8ee 100644 (file)
@@ -122,11 +122,6 @@ extern void                        machine_delay_until(uint64_t interval,
 
 extern uint32_t                hz_tick_interval;
 
-extern void            absolutetime_to_nanotime(
-                                       uint64_t                abstime,
-                                       clock_sec_t             *secs,
-                                       clock_nsec_t    *nanosecs);
-
 extern void            nanotime_to_absolutetime(
                                        clock_sec_t             secs,
                                        clock_nsec_t    nanosecs,
@@ -230,6 +225,9 @@ extern void             nanoseconds_to_absolutetime(
                                                        uint64_t                nanoseconds,
                                                        uint64_t                *result);
 
+extern uint64_t mach_absolutetime_asleep;
+extern uint64_t mach_absolutetime_last_sleep;
+
 #ifdef KERNEL_PRIVATE
 
 /*
@@ -282,6 +280,11 @@ extern void                                delay_for_interval(
                                                        uint32_t                interval,
                                                        uint32_t                scale_factor);
 
+extern void                            delay_for_interval_with_leeway(
+                                                       uint32_t                interval,
+                                                       uint32_t                leeway,
+                                                       uint32_t                scale_factor);
+
 #endif /* KERNEL_PRIVATE */
 
 __END_DECLS