Home
last modified time | relevance | path

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

/xnu-12377.1.9/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]));
159 int err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, before,
166 err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, after,
185 int err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, before, in _expect_counts_on_perf_level()
192 err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, after, in _expect_counts_on_perf_level()
207 int err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, before, in _expect_no_counts_on_perf_level()
214 err = thread_selfcounts(THSC_TIME_ENERGY_CPI_PER_PERF_LEVEL, after, in _expect_no_counts_on_perf_level()
279 int r1 = thread_selfcounts(THSC_CPI, &counts[0], sizeof(counts[0]));
280 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-12377.1.9/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-12377.1.9/bsd/sys/
H A Dresource_private.h115 int thread_selfcounts(thread_selfcounts_kind_t kind, void *dst, size_t size);
/xnu-12377.1.9/tests/
H A Dmonotonic_core.c144 (void)thread_selfcounts(THSC_CPI, &counts, sizeof(counts)); in spin_thread_self_counts()
/xnu-12377.1.9/doc/observability/
H A Drecount.md36 | `thread_selfcounts` | thread | self | FP | ✓ | ✓ | ✓ | ✓ …
/xnu-12377.1.9/tests/sched/
H A Dsetitimer.c133 int rv = thread_selfcounts(THSC_TIME_CPI, &entry->self_stats, sizeof(entry->self_stats)); in fill_thread_stats()
/xnu-12377.1.9/tests/ktrace/
H A Dkdebug_tests.c1831 (void)thread_selfcounts(THSC_CPI, &tc_info->counts, sizeof(tc_info->counts)); in get_thread_counters()