Searched refs:microseconds (Results 1 – 14 of 14) sorted by relevance
| /xnu-8792.41.9/osfmk/mach/ |
| H A D | time_value.h | 68 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 D | recount_test_utils.c | 161 (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 D | sched_cluster_bound_threads.c | 137 …ec = bound_thread_info.user_time.seconds * USEC_PER_SEC + bound_thread_info.user_time.microseconds;
|
| H A D | task_info.c | 722 …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 D | kern_clock.c | 350 tv->microseconds = st.tv_usec; in get_procrustime()
|
| H A D | kern_resource.c | 1277 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 D | thread.c | 2183 …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 D | bsd_kern.c | 1111 …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 D | task.c | 4877 user_time->microseconds = usec; in _task_fill_times() 4880 sys_time->microseconds = usec; in _task_fill_times()
|
| H A D | kern_stackshot.c | 2318 .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 D | IOLib.cpp | 1532 IODelay(unsigned microseconds) in IODelay() argument 1534 delay_for_interval(microseconds, kMicrosecondScale); in IODelay()
|
| /xnu-8792.41.9/iokit/IOKit/ |
| H A D | IOLib.h | 590 void IODelay(unsigned microseconds);
|
| /xnu-8792.41.9/doc/ |
| H A D | recount.md | 39 - ¹ Time precision is microseconds.
|
| /xnu-8792.41.9/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 1297 …e = worker_threads_total_runtime.seconds * 1000 + worker_threads_total_runtime.microseconds / 1000; in main()
|