Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 14 of 14) sorted by relevance

/xnu-11215/iokit/Kernel/
H A DIORTC.cpp49 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 DIOPlatformExpert.cpp1381 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 DIORTCController.h70 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 Dnet_perf.c56 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 Ddevtimer.c84 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 Dselect_stress.c350 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 Dkern_time.c125 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 Dkdebug.c1914 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 DIOPlatformExpert.h124 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 Dmodel_dep.c856 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 Dtelemetry.c739 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 Dthread.c2241 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 Dpthread_workqueue.c122 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 DOSKext.cpp11154 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);