diff options
Diffstat (limited to 'kern/mach_clock.h')
-rw-r--r-- | kern/mach_clock.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/kern/mach_clock.h b/kern/mach_clock.h index 89fd3352..1af0cdae 100644 --- a/kern/mach_clock.h +++ b/kern/mach_clock.h @@ -86,9 +86,18 @@ extern boolean_t reset_timeout(timer_elt_t telt); extern void init_timeout (void); -/* Read the current time into STAMP. */ +/* + * Record a timestamp in STAMP. Records values in the boot-time clock + * frame. + */ extern void record_time_stamp (time_value_t *stamp); +/* + * Read a timestamp in STAMP into RESULT. Returns values in the + * real-time clock frame. + */ +extern void read_time_stamp (time_value_t *stamp, time_value_t *result); + extern kern_return_t host_get_time( host_t host, time_value_t *current_time); |