Home
last modified time | relevance | path

Searched refs:seconds (Results 1 – 25 of 31) sorted by relevance

12

/xnu-11215/osfmk/mach/
H A Dtime_value.h67 integer_t seconds; member
83 (val)->seconds++; \
89 (result)->seconds += (addend)->seconds; \
92 (result)->seconds++; \
/xnu-11215/tests/
H A Dworkqueue_cooperative.c34 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 Dioperf.c134 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 Dtask_info.c303 …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 Dsignal_exit_reason.c134 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 Davx.c120 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 Dstackshot_accuracy.m368 …dispatch_semaphore_wait(child_done_sema, dispatch_time(DISPATCH_TIME_NOW, 10 /*seconds*/ * 1000000…
/xnu-11215/tests/sched/
H A Dsched_test_utils.h17 void spin_for_duration(uint32_t seconds);
H A Dcluster_bound_threads.c104 …uint64_t bound_usr_usec = bound_thread_info.user_time.seconds * USEC_PER_SEC + bound_thread_info.u…
H A Dsched_test_utils.c96 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 Dthread_group_fairness.c153 …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 Dtest_lock.c510 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 Dthread.c2194 …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 Dbsd_kern.c1143 …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 Dexclaves_driverkit.c792 clock_interval_to_absolutetime_interval(duration->seconds,
/xnu-11215/doc/vm/
H A Dmemorystatus_kills.md49 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 DREADME8 1 server, 4 clients per server (4 total) 400000 messages... in 4.820 seconds
/xnu-11215/tests/recount/
H A Drecount_test_utils.c222 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 Dkern_clock.c349 tv->seconds = (integer_t)st.tv_sec; in get_procrustime()
H A Duipc_domain.c968 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 Dkern_resource.c1536 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 Dpf_ioctl.c3789 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 Dpfvar.h737 u_int32_t seconds; member
885 u_int32_t seconds; member
1995 int seconds; member
/xnu-11215/tools/tests/perf_index/
H A DREADME14 number of seconds it took to standard out as a decimal number. Some of the test
/xnu-11215/doc/observability/
H A Drecount.md54 By default, it prints the times in seconds, but the `-M` flag switches the output to Mach time valu…

12