Home
last modified time | relevance | path

Searched refs:ns_from_mach (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.121.2/tests/recount/
H A Drecount_perf_tests.c174 delta->pti_total_user = ns_from_mach(after.pti_total_user - in proc_pidtaskinfo_usage()
176 delta->pti_total_system = ns_from_mach(after.pti_total_system - in proc_pidtaskinfo_usage()
213 delta->ri_user_time = ns_from_mach(after.ri_user_time - in proc_pid_rusage_usage()
215 delta->ri_system_time = ns_from_mach(after.ri_system_time - in proc_pid_rusage_usage()
311 return (double)ns_from_mach(counts->ttci_user_time_mach + in thread_selfcounts_measurement()
314 return (double)ns_from_mach(counts->ttci_system_time_mach) / 1e9; in thread_selfcounts_measurement()
338 return (double)ns_from_mach(*delta); in thread_selfusage_measurement()
372 ns = ns_from_mach(info->total_user) + ns_from_mach(info->total_system); in task_power_info_measurement()
375 ns = ns_from_mach(info->total_system); in task_power_info_measurement()
H A Drecount_tests.c237 .usr_time = ns_from_mach(info.total_user), in task_power_info_times()
238 .sys_time = ns_from_mach(info.total_system), in task_power_info_times()
261 .usr_time = ns_from_mach(info.total_user), in task_absolutetime_info_times()
262 .sys_time = ns_from_mach(info.total_system), in task_absolutetime_info_times()
H A Drecount_test_utils.h42 uint64_t ns_from_mach(uint64_t mach_time);
H A Drecount_test_utils.c135 ns_from_mach(uint64_t mach_time) in ns_from_mach() function