Searched refs:mach_time (Results 1 – 5 of 5) sorted by relevance
| /xnu-8019.80.24/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-8019.80.24/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-8019.80.24/osfmk/kern/ |
| H A D | clock.c | 259 uint64_t mach_time; member 689 uint64_t *mach_time) in clock_gettimeofday_and_absolute_time() argument 708 if (mach_time) { in clock_gettimeofday_and_absolute_time() 709 *mach_time = now; in clock_gettimeofday_and_absolute_time() 1064 absolutetime_to_microtime(monotonic_time.mach_time, &sys2, µsys2); in clock_initialize_calendar() 1283 wake_abs = monotonic_time.mach_time; in clock_wakeup_calendar_legacy()
|
| /xnu-8019.80.24/osfmk/mach/ |
| H A D | mach.modulemap | 158 module mach_time { 159 header "mach/mach_time.h"
|
| H A D | Makefile | 142 mach_time.h \
|