X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..490019cf9519204c5fb36b2fba54ceb983bb6b72:/osfmk/kern/clock.h?ds=sidebyside diff --git a/osfmk/kern/clock.h b/osfmk/kern/clock.h index b2e4b77bf..8918ca3c1 100644 --- a/osfmk/kern/clock.h +++ b/osfmk/kern/clock.h @@ -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