Home
last modified time | relevance | path

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

/xnu-11215.1.10/tests/recount/
H A Dthread_selfcounts_tests.c43 _remove_time_from_cpi(struct thsc_time_cpi *time_cpi) in _remove_time_from_cpi()
52 _check_time_cpi(struct thsc_time_cpi *before, struct thsc_time_cpi *after, in _check_time_cpi()
69 _check_no_time_cpi(struct thsc_time_cpi *before, struct thsc_time_cpi *after, in _check_no_time_cpi()
85 static struct thsc_time_cpi
88 return (struct thsc_time_cpi){ in _remove_energy_from_cpi()
100 struct thsc_time_cpi before_time = _remove_energy_from_cpi(before); in _check_usage()
101 struct thsc_time_cpi after_time = _remove_energy_from_cpi(after); in _check_usage()
114 struct thsc_time_cpi before_time = _remove_energy_from_cpi(before); in _check_no_usage()
115 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-11215.1.10/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-11215.1.10/bsd/sys/
H A Dresource_private.h84 struct thsc_time_cpi { struct
/xnu-11215.1.10/tests/
H A Dsetitimer.c87 struct thsc_time_cpi self_stats;