Searched refs:thread_selfcounts (Results 1 – 8 of 8) sorted by relevance
| /xnu-11417.140.69/tests/recount/ |
| H A D | thread_selfcounts_tests.c | 136 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 D | recount_perf_tests.c | 285 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 D | sys_recount.c | 171 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 D | resource_private.h | 115 int thread_selfcounts(thread_selfcounts_kind_t kind, void *dst, size_t size);
|
| /xnu-11417.140.69/tests/ |
| H A D | monotonic_core.c | 144 (void)thread_selfcounts(THSC_CPI, &counts, sizeof(counts)); in spin_thread_self_counts()
|
| H A D | setitimer.c | 136 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 D | recount.md | 36 | `thread_selfcounts` | thread | self | FP | ✓ | ✓ | ✓ | ✓ …
|
| /xnu-11417.140.69/tests/ktrace/ |
| H A D | kdebug_tests.c | 1825 (void)thread_selfcounts(THSC_CPI, &tc_info->counts, sizeof(tc_info->counts)); in get_thread_counters()
|