Home
last modified time | relevance | path

Searched refs:thsc_time_cpi (Results 1 – 5 of 5) sorted by relevance

/xnu-12377.81.4/tests/recount/
H A Dthread_selfcounts_tests.c49 _remove_time_from_cpi(struct thsc_time_cpi *time_cpi) in _remove_time_from_cpi()
58 _check_time_cpi(struct thsc_time_cpi *before, struct thsc_time_cpi *after, in _check_time_cpi()
77 _check_no_time_cpi(struct thsc_time_cpi *before, struct thsc_time_cpi *after, in _check_no_time_cpi()
95 static struct thsc_time_cpi
98 return (struct thsc_time_cpi){ in _remove_energy_from_cpi()
110 struct thsc_time_cpi before_time = _remove_energy_from_cpi(before); in _check_usage()
111 struct thsc_time_cpi after_time = _remove_energy_from_cpi(after); in _check_usage()
125 struct thsc_time_cpi before_time = _remove_energy_from_cpi(before); in _check_no_usage()
126 struct thsc_time_cpi after_time = _remove_energy_from_cpi(after); in _check_no_usage()
H A Drecount_perf_tests.c283 struct thsc_time_cpi before = { 0 }; in thread_selfcounts_usage()
284 struct thsc_time_cpi after = { 0 }; in thread_selfcounts_usage()
295 struct thsc_time_cpi *counts = ctx; in thread_selfcounts_usage()
308 struct thsc_time_cpi *counts = ctx; in thread_selfcounts_measurement()
597 struct thsc_time_cpi counts = { 0 };
/xnu-12377.81.4/bsd/kern/
H A Dsys_recount.c49 static struct thsc_time_cpi
52 return (struct thsc_time_cpi){ in _usage_to_time_cpi()
114 struct thsc_time_cpi counts = _usage_to_time_cpi(&usage); in _selfcounts()
150 struct thsc_time_cpi counts[RCT_CPU_KIND_COUNT] = { 0 }; in _selfcounts_perf_level()
/xnu-12377.81.4/bsd/sys/
H A Dresource_private.h84 struct thsc_time_cpi { struct
/xnu-12377.81.4/tests/sched/
H A Dsetitimer.c90 struct thsc_time_cpi self_stats;