Searched refs:mach_time (Results 1 – 7 of 7) sorted by relevance
| /xnu-8792.41.9/tests/ |
| H A D | gettimeofday.c | 31 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(>od_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-8792.41.9/tests/recount/ |
| H A D | recount_test_utils.h | 42 uint64_t ns_from_mach(uint64_t mach_time);
|
| H A D | recount_test_utils.c | 135 ns_from_mach(uint64_t mach_time) in ns_from_mach() argument 139 return mach_time * tbi.numer / tbi.denom; in ns_from_mach()
|
| /xnu-8792.41.9/bsd/kern/ |
| H A D | kern_time.c | 126 uint64_t mach_time; in gettimeofday() local 129 clock_gettimeofday_and_absolute_time(&secs, &usecs, &mach_time); in gettimeofday() 159 error = copyout(&mach_time, uap->mach_absolute_time, sizeof(mach_time)); in gettimeofday()
|
| /xnu-8792.41.9/osfmk/kern/ |
| H A D | clock.c | 259 uint64_t mach_time; member 692 uint64_t *mach_time) in clock_gettimeofday_and_absolute_time() argument 711 if (mach_time) { in clock_gettimeofday_and_absolute_time() 712 *mach_time = now; in clock_gettimeofday_and_absolute_time() 1067 absolutetime_to_microtime(monotonic_time.mach_time, &sys2, µsys2); in clock_initialize_calendar() 1286 wake_abs = monotonic_time.mach_time; in clock_wakeup_calendar_legacy()
|
| /xnu-8792.41.9/osfmk/mach/ |
| H A D | mach.modulemap | 153 module mach_time { 154 header "mach/mach_time.h"
|
| H A D | Makefile | 140 mach_time.h \
|