Searched refs:mach_time (Results 1 – 8 of 8) sorted by relevance
| /xnu-10063.101.15/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-10063.101.15/tests/recount/ |
| H A D | recount_test_utils.h | 54 uint64_t ns_from_mach(uint64_t mach_time);
|
| H A D | recount_test_utils.c | 197 ns_from_mach(uint64_t mach_time) in ns_from_mach() argument 201 return mach_time * tbi.numer / tbi.denom; in ns_from_mach()
|
| /xnu-10063.101.15/osfmk/mach/ |
| H A D | mach_private.modulemap | 27 module mach_time {
|
| H A D | mach.modulemap | 151 module mach_time { 152 header "mach/mach_time.h"
|
| H A D | Makefile | 140 mach_time.h \
|
| /xnu-10063.101.15/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-10063.101.15/osfmk/kern/ |
| H A D | clock.c | 260 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, µsys2); in clock_initialize_calendar() 1287 wake_abs = monotonic_time.mach_time; in clock_wakeup_calendar_legacy()
|