| /xnu-11215/iokit/Kernel/ |
| H A D | IORTC.cpp | 49 IORTC::getMonotonicClockOffset( int64_t * usecs ) in getMonotonicClockOffset() argument 55 IORTC::setMonotonicClockOffset( int64_t usecs ) in setMonotonicClockOffset() argument 61 IORTC::getMonotonicClockAndTimestamp( uint64_t * usecs, uint64_t *mach_absolute_time ) in getMonotonicClockAndTimestamp() argument
|
| H A D | IOPlatformExpert.cpp | 1381 clock_usec_t usecs; in PEGetGMTTimeOfDay() local 1383 PEGetUTCTimeOfDay(&secs, &usecs); in PEGetGMTTimeOfDay() 1394 PEGetUTCTimeOfDay(clock_sec_t * secs, clock_usec_t * usecs) in PEGetUTCTimeOfDay() argument 1404 *usecs = nsecs / NSEC_PER_USEC; in PEGetUTCTimeOfDay() 1408 PESetUTCTimeOfDay(clock_sec_t secs, clock_usec_t usecs) in PESetUTCTimeOfDay() argument 1410 assert(usecs < USEC_PER_SEC); in PESetUTCTimeOfDay() 1412 gIOPlatform->setUTCTimeOfDay(secs, usecs * NSEC_PER_USEC); in PESetUTCTimeOfDay()
|
| /xnu-11215/iokit/IOKit/rtc/ |
| H A D | IORTCController.h | 70 virtual IOReturn getMonotonicClockOffset( int64_t * usecs ); 71 virtual IOReturn setMonotonicClockOffset( int64_t usecs ); 72 …virtual IOReturn getMonotonicClockAndTimestamp( uint64_t * usecs, uint64_t *mach_absolute_t…
|
| /xnu-11215/bsd/net/ |
| H A D | net_perf.c | 56 uint64_t usecs; in ip_perf_record_stats() local 58 usecs = tv_diff.tv_sec * 1000000ULL + tv_diff.tv_usec; in ip_perf_record_stats() 59 OSAddAtomic64(usecs, &npp->np_total_usecs); in ip_perf_record_stats()
|
| H A D | devtimer.c | 84 uint64_t usecs; in timeval_to_absolutetime() local 89 &usecs); in timeval_to_absolutetime() 90 return secs + usecs; in timeval_to_absolutetime()
|
| /xnu-11215/tests/ |
| H A D | select_stress.c | 350 test_select_sleep(uint32_t niterations, unsigned long usecs) in test_select_sleep() argument 355 tv.tv_usec = usecs; in test_select_sleep() 362 T_LOG("Testing select as sleep (n=%d, us=%ld)...", niterations, usecs); in test_select_sleep()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_time.c | 125 clock_usec_t usecs; in gettimeofday() local 129 clock_gettimeofday_and_absolute_time(&secs, &usecs, &mach_time); in gettimeofday() 137 user_atv.tv_usec = usecs; in gettimeofday() 142 user_atv.tv_usec = usecs; in gettimeofday()
|
| H A D | kdebug.c | 1914 clock_usec_t usecs; in _write_legacy_header() local 1982 clock_get_calendar_microtime(&secs, &usecs); in _write_legacy_header() 1984 header.TOD_usecs = usecs; in _write_legacy_header()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOPlatformExpert.h | 124 extern void PEGetUTCTimeOfDay( clock_sec_t * secs, clock_usec_t * usecs ); 125 extern void PESetUTCTimeOfDay( clock_sec_t secs, clock_usec_t usecs );
|
| /xnu-11215/osfmk/arm/ |
| H A D | model_dep.c | 856 clock_usec_t usecs, boot_usecs; in panic_display_times() local 860 clock_get_calendar_microtime(&secs, &usecs); in panic_display_times() 868 paniclog_append_noflush(" Calendar: 0x%08x 0x%08x\n\n", (unsigned int)secs, (unsigned int)usecs); in panic_display_times()
|
| /xnu-11215/osfmk/kern/ |
| H A D | telemetry.c | 739 clock_usec_t usecs; in telemetry_process_sample() local 835 clock_get_calendar_microtime(&secs, &usecs); in telemetry_process_sample() 890 msnap->ms_time_microsecs = usecs; in telemetry_process_sample()
|
| H A D | thread.c | 2241 clock_usec_t usecs; in _convert_mach_to_time_value() local 2242 absolutetime_to_microtime(time_mach, &secs, &usecs); in _convert_mach_to_time_value() 2244 time->microseconds = usecs; in _convert_mach_to_time_value()
|
| /xnu-11215/bsd/pthread/ |
| H A D | pthread_workqueue.c | 122 uint32_t usecs; member 127 static struct workq_usec_var var = { .usecs = init }; \ 172 int error = sysctl_handle_int(oidp, &v->usecs, 0, req); 176 clock_interval_to_absolutetime_interval(v->usecs, NSEC_PER_USEC, 5277 clock_interval_to_absolutetime_interval(wq_stalled_window.usecs, in workq_init() 5279 clock_interval_to_absolutetime_interval(wq_reduce_pool_window.usecs, in workq_init() 5281 clock_interval_to_absolutetime_interval(wq_max_timer_interval.usecs, in workq_init()
|
| /xnu-11215/libkern/c++/ |
| H A D | OSKext.cpp | 11154 clock_usec_t usecs; local 11155 clock_get_calendar_microtime(&secs, &usecs); 11156 assert(usecs < 1000000); 11159 snprintf(timestamp, sizeof(timestamp), "%lu.%06d", (unsigned long)secs, (int)usecs);
|