Home
last modified time | relevance | path

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

/xnu-8792.41.9/osfmk/mach/
H A Dtime_value.h68 integer_t microseconds; member
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; \
/xnu-8792.41.9/tests/recount/
H A Drecount_test_utils.c161 (uint64_t)tv.microseconds * 1000; in ns_from_time_value()
169 .microseconds = (ns % NSEC_PER_SEC) / 1000, in time_value_from_ns()
/xnu-8792.41.9/tests/
H A Dsched_cluster_bound_threads.c137 …ec = bound_thread_info.user_time.seconds * USEC_PER_SEC + bound_thread_info.user_time.microseconds;
H A Dtask_info.c722 …T_EXPECT_EQ((user_tv->seconds + user_tv->microseconds / 1000000), 0, "verify task_info shows valid… in test_task_basic_info()
725 …T_EXPECT_EQ(sys_tv->seconds + (sys_tv->microseconds / 1000000), 0, "verify task_info shows valid s… in test_task_basic_info()
/xnu-8792.41.9/bsd/kern/
H A Dkern_clock.c350 tv->microseconds = st.tv_usec; in get_procrustime()
H A Dkern_resource.c1277 ut.tv_usec = tinfo.user_time.microseconds; in calcru()
1279 st.tv_usec = tinfo.system_time.microseconds; in calcru()
1288 ut.tv_usec = ttimesinfo.user_time.microseconds; in calcru()
1290 st.tv_usec = ttimesinfo.system_time.microseconds; in calcru()
/xnu-8792.41.9/osfmk/kern/
H A Dthread.c2183 …o.user_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.user_time.microseconds * NSEC_PER_USEC… in thread_info_internal()
2184 …stem_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.system_time.microseconds * NSEC_PER_USEC… in thread_info_internal()
2233 time->microseconds = usecs; in _convert_mach_to_time_value()
2627 thread_total_time.seconds, thread_total_time.microseconds, in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2628 thread_user_time.seconds, thread_user_time.microseconds, in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
2629 thread_system_time.seconds, thread_system_time.microseconds); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
H A Dbsd_kern.c1111 …o.user_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.user_time.microseconds * NSEC_PER_USEC… in fill_taskthreadinfo()
1112 …stem_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.system_time.microseconds * NSEC_PER_USEC… in fill_taskthreadinfo()
H A Dtask.c4877 user_time->microseconds = usec; in _task_fill_times()
4880 sys_time->microseconds = usec; in _task_fill_times()
H A Dkern_stackshot.c2318 .runnable_usec = (uint64_t)runnable_time.seconds * USEC_PER_SEC + runnable_time.microseconds, in kcdata_record_thread_snapshot()
/xnu-8792.41.9/iokit/Kernel/
H A DIOLib.cpp1532 IODelay(unsigned microseconds) in IODelay() argument
1534 delay_for_interval(microseconds, kMicrosecondScale); in IODelay()
/xnu-8792.41.9/iokit/IOKit/
H A DIOLib.h590 void IODelay(unsigned microseconds);
/xnu-8792.41.9/doc/
H A Drecount.md39 - ¹ Time precision is microseconds.
/xnu-8792.41.9/tools/tests/zero-to-n/
H A Dzero-to-n.c1297 …e = worker_threads_total_runtime.seconds * 1000 + worker_threads_total_runtime.microseconds / 1000; in main()