Searched refs:microseconds (Results 1 – 16 of 16) sorted by relevance
| /xnu-11215/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-11215/tests/recount/ |
| H A D | recount_test_utils.c | 223 (uint64_t)tv.microseconds * 1000; in ns_from_time_value() 231 .microseconds = (ns % NSEC_PER_SEC) / 1000, in time_value_from_ns()
|
| /xnu-11215/tests/sched/ |
| H A D | cluster_bound_threads.c | 104 …ec = bound_thread_info.user_time.seconds * USEC_PER_SEC + bound_thread_info.user_time.microseconds;
|
| H A D | thread_group_fairness.c | 153 …usec = (uint64_t) (info.user_time.seconds) * USEC_PER_SEC + (uint64_t) info.user_time.microseconds; in snapshot_user_time_usec()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_clock.c | 350 tv->microseconds = st.tv_usec; in get_procrustime()
|
| H A D | uipc_domain.c | 970 uint64_t microseconds = ((uint64_t)tvp->tv_sec * USEC_PER_SEC) + (uint64_t)tvp->tv_usec; in net_update_uptime_with_time() local 998 if (tmp < microseconds) { in net_update_uptime_with_time() 999 os_atomic_cmpxchg(&_net_uptime_us, tmp, microseconds, relaxed); in net_update_uptime_with_time()
|
| H A D | kern_resource.c | 1537 ut.tv_usec = tinfo.user_time.microseconds; in calcru() 1539 st.tv_usec = tinfo.system_time.microseconds; in calcru() 1548 ut.tv_usec = ttimesinfo.user_time.microseconds; in calcru() 1550 st.tv_usec = ttimesinfo.system_time.microseconds; in calcru()
|
| /xnu-11215/tests/ |
| H A D | task_info.c | 726 …T_EXPECT_EQ((user_tv->seconds + user_tv->microseconds / 1000000), 0, "verify task_info shows valid… in test_task_basic_info() 729 …T_EXPECT_EQ(sys_tv->seconds + (sys_tv->microseconds / 1000000), 0, "verify task_info shows valid s… in test_task_basic_info()
|
| /xnu-11215/osfmk/kern/ |
| H A D | thread.c | 2194 …o.user_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.user_time.microseconds * NSEC_PER_USEC… in thread_info_internal() 2195 …stem_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.system_time.microseconds * NSEC_PER_USEC… in thread_info_internal() 2244 time->microseconds = usecs; in _convert_mach_to_time_value() 2614 thread_total_time.seconds, thread_total_time.microseconds, in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU() 2615 thread_user_time.seconds, thread_user_time.microseconds, in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU() 2616 thread_system_time.seconds, thread_system_time.microseconds); in SENDING_NOTIFICATION__THIS_THREAD_IS_CONSUMING_TOO_MUCH_CPU()
|
| H A D | bsd_kern.c | 1143 …o.user_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.user_time.microseconds * NSEC_PER_USEC… in fill_taskthreadinfo() 1144 …stem_time.seconds * NSEC_PER_SEC) + ((uint64_t)basic_info.system_time.microseconds * NSEC_PER_USEC… in fill_taskthreadinfo()
|
| H A D | task.c | 5262 user_time->microseconds = usec; in _task_fill_times() 5265 sys_time->microseconds = usec; in _task_fill_times()
|
| H A D | kern_stackshot.c | 4313 .runnable_usec = (uint64_t)runnable_time.seconds * USEC_PER_SEC + runnable_time.microseconds, in kcdata_record_thread_snapshot()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOLib.cpp | 1535 IODelay(unsigned microseconds) in IODelay() argument 1537 delay_for_interval(microseconds, kMicrosecondScale); in IODelay()
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOLib.h | 598 void IODelay(unsigned microseconds);
|
| /xnu-11215/doc/observability/ |
| H A D | recount.md | 46 - ¹ Time precision is microseconds.
|
| /xnu-11215/tools/tests/zero-to-n/ |
| H A D | zero-to-n.c | 1475 …e = worker_threads_total_runtime.seconds * 1000 + worker_threads_total_runtime.microseconds / 1000; in main()
|