Searched refs:microseconds (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/osfmk/mach/
H A Dtime_value.h68 integer_t microseconds; member in struct:time_value
75 * are normalized (microseconds <= 999999).
80 if (((val)->microseconds += (micros)) \
82 (val)->microseconds -= TIME_MICROS_MAX; \
88 (result)->microseconds += (addend)->microseconds; \
90 if ((result)->microseconds >= TIME_MICROS_MAX) { \
91 (result)->microseconds -= TIME_MICROS_MAX; \
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_clock.c345 st.tv_usec = syst->microseconds;
373 tv->microseconds = st.tv_usec;
H A Dkern_resource.c964 ut.tv_usec = tinfo.user_time.microseconds;
966 st.tv_usec = tinfo.system_time.microseconds;
975 ut.tv_usec = ttimesinfo.user_time.microseconds;
977 st.tv_usec = ttimesinfo.system_time.microseconds;
H A Dkern_exit.c1881 p->p_ru->ru_utime.tv_usec = tinfo.user_time.microseconds;
1883 p->p_ru->ru_stime.tv_usec = tinfo.system_time.microseconds;
1890 ut.tv_usec = ttimesinfo.user_time.microseconds;
1892 st.tv_usec = ttimesinfo.system_time.microseconds;
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOLib.h272 @abstract Spin delay for a number of microseconds.
273 @discussion This function spins to delay for at least the number of specified microseconds. Since the CPU is busy spinning no time is made available to other processes; this method of delay should be used only for short periods. Also, the AbsoluteTime based APIs of kern/clock.h provide finer grained and lower cost delays.
274 @param microseconds The integer number of microseconds to spin wait. */
276 void IODelay(unsigned microseconds);
281 @param microseconds The integer number of nanoseconds to spin wait. */
/darwin-on-arm/xnu/osfmk/kern/
H A Dtask.c1617 basic_info->user_time.microseconds = usecs;
1622 basic_info->system_time.microseconds = usecs;
1655 basic_info->user_time.microseconds = usecs;
1660 basic_info->system_time.microseconds = usecs;
1700 basic_info->user_time.microseconds = usecs;
1705 basic_info->system_time.microseconds = usecs;
1723 times_info->user_time.microseconds = 0;
1725 times_info->system_time.microseconds = 0;
H A Dbsd_kern.c660 ptinfo->pth_user_time = ((basic_info.user_time.seconds * NSEC_PER_SEC) + (basic_info.user_time.microseconds * NSEC_PER_USEC));
661 ptinfo->pth_system_time = ((basic_info.system_time.seconds * NSEC_PER_SEC) + (basic_info.system_time.microseconds * NSEC_PER_USEC));
H A Dthread.c1324 user_time->microseconds = usecs;
1328 system_time->microseconds = usecs;
1334 user_time->microseconds = usecs;
1337 system_time->microseconds = 0;
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOLib.cpp755 * Spin for indicated number of microseconds.
757 void IODelay(unsigned microseconds) argument
759 delay_for_interval(microseconds, kMicrosecondScale);

Completed in 46 milliseconds