| /xnu-11215/osfmk/mach/ |
| H A D | time_value.h | 67 integer_t seconds; member 83 (val)->seconds++; \ 89 (result)->seconds += (addend)->seconds; \ 92 (result)->seconds++; \
|
| /xnu-11215/tests/ |
| H A D | workqueue_cooperative.c | 34 spin_for_duration(uint32_t seconds) in spin_for_duration() argument 39 uint64_t duration = nanos_to_abs((uint64_t)seconds * NSEC_PER_SEC); in spin_for_duration()
|
| H A D | ioperf.c | 134 spin_for_duration(uint32_t seconds) in spin_for_duration() argument 136 uint64_t duration = nanos_to_abs((uint64_t)seconds * NSEC_PER_SEC); in spin_for_duration()
|
| H A D | task_info.c | 303 …EXPECT_FALSE((thread_times_info_data_new.user_time.seconds - thread_times_info_data.user_time.seco… 304 …(thread_times_info_data_new.system_time.seconds - thread_times_info_data.system_time.seconds) != 0, 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()
|
| H A D | signal_exit_reason.c | 134 wait_with_timeout_expected(int pid, int seconds) in wait_with_timeout_expected() argument 139 dispatch_time_t milestone = dispatch_time(DISPATCH_TIME_NOW, seconds * NSEC_PER_SEC);; in wait_with_timeout_expected()
|
| H A D | avx.c | 120 start_timer(int seconds, void (*handler)(int, siginfo_t *, void *)) in start_timer() argument 128 .it_value.tv_sec = seconds, in start_timer()
|
| H A D | stackshot_accuracy.m | 368 …dispatch_semaphore_wait(child_done_sema, dispatch_time(DISPATCH_TIME_NOW, 10 /*seconds*/ * 1000000…
|
| /xnu-11215/tests/sched/ |
| H A D | sched_test_utils.h | 17 void spin_for_duration(uint32_t seconds);
|
| H A D | cluster_bound_threads.c | 104 …uint64_t bound_usr_usec = bound_thread_info.user_time.seconds * USEC_PER_SEC + bound_thread_info.u…
|
| H A D | sched_test_utils.c | 96 spin_for_duration(uint32_t seconds) in spin_for_duration() argument 98 uint64_t duration = nanos_to_abs((uint64_t)seconds * NSEC_PER_SEC); in spin_for_duration()
|
| H A D | thread_group_fairness.c | 153 …uint64_t thread_usr_usec = (uint64_t) (info.user_time.seconds) * USEC_PER_SEC + (uint64_t) info.us… in snapshot_user_time_usec()
|
| /xnu-11215/osfmk/kern/ |
| H A D | test_lock.c | 510 smr_sleepable_stress_test(int64_t seconds, int64_t *out) in smr_sleepable_stress_test() argument 516 if (seconds > 60) { in smr_sleepable_stress_test() 527 clock_interval_to_deadline((uint32_t)seconds, NSEC_PER_SEC, &ctx.deadline); in smr_sleepable_stress_test() 553 smr_sleepable_stress_log(&ctx, seconds * 4); in smr_sleepable_stress_test()
|
| H A D | thread.c | 2194 …extended_info->pth_user_time = (((uint64_t)basic_info.user_time.seconds * NSEC_PER_SEC) + ((uint64… in thread_info_internal() 2195 …extended_info->pth_system_time = (((uint64_t)basic_info.system_time.seconds * NSEC_PER_SEC) + ((ui… in thread_info_internal() 2243 time->seconds = (typeof(time->seconds))secs; 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 …ptinfo->pth_user_time = (((uint64_t)basic_info.user_time.seconds * NSEC_PER_SEC) + ((uint64_t)basi… in fill_taskthreadinfo() 1144 …ptinfo->pth_system_time = (((uint64_t)basic_info.system_time.seconds * NSEC_PER_SEC) + ((uint64_t)… in fill_taskthreadinfo()
|
| H A D | exclaves_driverkit.c | 792 clock_interval_to_absolutetime_interval(duration->seconds,
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus_kills.md | 49 1. 0 - 5 seconds 50 1. 5 - 10 seconds 51 1. \> 10 seconds 55 …ihood get 10 seconds in the aging band, medium relaunch likelihood grants 5 seconds, and low relau…
|
| /xnu-11215/tools/tests/MPMMTest/ |
| H A D | README | 8 1 server, 4 clients per server (4 total) 400000 messages... in 4.820 seconds
|
| /xnu-11215/tests/recount/ |
| H A D | recount_test_utils.c | 222 return (uint64_t)tv.seconds * NSEC_PER_SEC + in ns_from_time_value() 230 .seconds = (integer_t)(ns / NSEC_PER_SEC), in time_value_from_ns()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_clock.c | 349 tv->seconds = (integer_t)st.tv_sec; in get_procrustime()
|
| H A D | uipc_domain.c | 968 uint64_t seconds = tvp->tv_sec;; in net_update_uptime_with_time() local 977 seconds++; in net_update_uptime_with_time() 981 if (tmp < seconds) { in net_update_uptime_with_time() 982 os_atomic_cmpxchg(&_net_uptime, tmp, seconds, relaxed); in net_update_uptime_with_time()
|
| H A D | kern_resource.c | 1536 ut.tv_sec = tinfo.user_time.seconds; in calcru() 1538 st.tv_sec = tinfo.system_time.seconds; in calcru() 1547 ut.tv_sec = ttimesinfo.user_time.seconds; in calcru() 1549 st.tv_sec = ttimesinfo.system_time.seconds; in calcru()
|
| /xnu-11215/bsd/net/ |
| H A D | pf_ioctl.c | 3789 pt->seconds < 0) { in pfioctl_ioc_tm() 3794 if (pt->timeout == PFTM_INTERVAL && pt->seconds == 0) { in pfioctl_ioc_tm() 3795 pt->seconds = 1; in pfioctl_ioc_tm() 3797 pf_default_rule.timeout[pt->timeout] = pt->seconds; in pfioctl_ioc_tm() 3798 if (pt->timeout == PFTM_INTERVAL && pt->seconds < old) { in pfioctl_ioc_tm() 3801 pt->seconds = old; in pfioctl_ioc_tm() 3810 pt->seconds = pf_default_rule.timeout[pt->timeout]; in pfioctl_ioc_tm() 4442 if (diff >= n->conn_rate.seconds) { in pfioctl_ioc_src_nodes() 4447 n->conn_rate.seconds; in pfioctl_ioc_src_nodes()
|
| H A D | pfvar.h | 737 u_int32_t seconds; member 885 u_int32_t seconds; member 1995 int seconds; member
|
| /xnu-11215/tools/tests/perf_index/ |
| H A D | README | 14 number of seconds it took to standard out as a decimal number. Some of the test
|
| /xnu-11215/doc/observability/ |
| H A D | recount.md | 54 By default, it prints the times in seconds, but the `-M` flag switches the output to Mach time valu…
|