]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/clock.h
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / osfmk / kern / clock.h
index d6d9b82abb5843705c087c6f4f637fcf46593928..44cd5533d19f24f795f8c162b33d32f147e0782d 100644 (file)
@@ -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