X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..f427ee49d309d8fc33ebf3042c3a775f2f530ded:/osfmk/kern/clock.h diff --git a/osfmk/kern/clock.h b/osfmk/kern/clock.h index d6d9b82ab..44cd5533d 100644 --- a/osfmk/kern/clock.h +++ b/osfmk/kern/clock.h @@ -225,6 +225,10 @@ extern void clock_interval_to_deadline( uint32_t scale_factor, uint64_t *result); +extern void nanoseconds_to_deadline( + uint64_t interval, + uint64_t *result); + extern void clock_interval_to_absolutetime_interval( uint32_t interval, uint32_t scale_factor, @@ -269,6 +273,9 @@ extern uint64_t continuoustime_to_absolutetime( extern uint64_t mach_absolutetime_asleep; extern uint64_t mach_absolutetime_last_sleep; +#if HIBERNATION && HAS_CONTINUOUS_HWCLOCK +extern uint64_t hwclock_conttime_offset; +#endif #ifdef KERNEL_PRIVATE