Home
last modified time | relevance | path

Searched refs:thread_selfcounts (Results 1 – 8 of 8) sorted by relevance

/xnu-11417.140.69/tests/recount/
H A Dthread_selfcounts_tests.c136 err = thread_selfcounts(THSC_CPI, &counts[0], sizeof(counts[0]));
138 err = thread_selfcounts(THSC_CPI, &counts[1], sizeof(counts[1]));
162 int err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, before,
169 err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, after,
188 int err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, before, in _expect_counts_on_perf_level()
195 err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, after, in _expect_counts_on_perf_level()
210 int err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, before, in _expect_no_counts_on_perf_level()
217 err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, after, in _expect_no_counts_on_perf_level()
285 int r1 = thread_selfcounts(THSC_CPI, &counts[0], sizeof(counts[0]));
286 int r2 = thread_selfcounts(THSC_CPI, &counts[1], sizeof(counts[1]));
H A Drecount_perf_tests.c285 int before_ret = thread_selfcounts(THSC_TIME_CPI, &before, sizeof(before)); in thread_selfcounts_usage()
286 int after_ret = thread_selfcounts(THSC_TIME_CPI, &after, sizeof(after)); in thread_selfcounts_usage()
/xnu-11417.140.69/bsd/kern/
H A Dsys_recount.c171 thread_selfcounts(__unused struct proc *p, in thread_selfcounts() function
271 thread_selfcounts(__unused struct proc *p, in thread_selfcounts() function
/xnu-11417.140.69/bsd/sys/
H A Dresource_private.h115 int thread_selfcounts(thread_selfcounts_kind_t kind, void *dst, size_t size);
/xnu-11417.140.69/tests/
H A Dmonotonic_core.c144 (void)thread_selfcounts(THSC_CPI, &counts, sizeof(counts)); in spin_thread_self_counts()
H A Dsetitimer.c136 int rv = thread_selfcounts(THSC_TIME_CPI, &entry->self_stats, sizeof(entry->self_stats)); in fill_thread_stats()
/xnu-11417.140.69/doc/observability/
H A Drecount.md36 | `thread_selfcounts` | thread | self | FP | ✓ | ✓ | ✓ | ✓ …
/xnu-11417.140.69/tests/ktrace/
H A Dkdebug_tests.c1825 (void)thread_selfcounts(THSC_CPI, &tc_info->counts, sizeof(tc_info->counts)); in get_thread_counters()