Home
last modified time | relevance | path

Searched refs:mach_time (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.81.4/tests/
H A Dgettimeofday.c31 extern int __gettimeofday_with_mach(struct timeval *, struct timezone *, uint64_t *mach_time);
38 uint64_t mach_time_before, mach_time, mach_time_after;
42 T_ASSERT_POSIX_ZERO(__gettimeofday_with_mach(&gtod_ts, NULL, &mach_time), NULL);
47 T_LOG("%llx > %llx > %llx", mach_time_before, mach_time, mach_time_after);
49 T_ASSERT_LT(mach_time_before, mach_time, NULL);
50 T_ASSERT_GT(mach_time_after, mach_time, NULL);
/xnu-12377.81.4/tests/recount/
H A Drecount_test_utils.h67 uint64_t ns_from_mach(uint64_t mach_time);
H A Drecount_test_utils.c230 ns_from_mach(uint64_t mach_time) in ns_from_mach() argument
234 return mach_time * tbi.numer / tbi.denom; in ns_from_mach()
/xnu-12377.81.4/bsd/kern/
H A Dkern_time.c127 uint64_t mach_time; in gettimeofday() local
130 clock_gettimeofday_and_absolute_time(&secs, &usecs, &mach_time); in gettimeofday()
160 error = copyout(&mach_time, uap->mach_absolute_time, sizeof(mach_time)); in gettimeofday()
/xnu-12377.81.4/osfmk/kern/
H A Dclock.c260 uint64_t mach_time; member
693 uint64_t *mach_time) in clock_gettimeofday_and_absolute_time() argument
712 if (mach_time) { in clock_gettimeofday_and_absolute_time()
713 *mach_time = now; in clock_gettimeofday_and_absolute_time()
1068 absolutetime_to_microtime(monotonic_time.mach_time, &sys2, &microsys2); in clock_initialize_calendar()
1287 wake_abs = monotonic_time.mach_time; in clock_wakeup_calendar_legacy()
/xnu-12377.81.4/osfmk/mach/
H A DMakefile147 mach_time.h \