Home
last modified time | relevance | path

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

/xnu-8019.80.24/tests/ktrace/
H A Dkpc_tests.c296 uint32_t ctrs_cnt; variable
304 ctrs_cnt = kpc_get_counter_count(KPC_CLASS_FIXED_MASK);
305 if (ctrs_cnt == 0) {
308 T_LOG("device has %" PRIu32 " fixed counters", ctrs_cnt);
318 ctrs_a = malloc(ctrs_cnt * sizeof(uint64_t));
321 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_a);
324 for (uint32_t i = 0; i < ctrs_cnt; i++) {
330 ctrs_b = malloc(ctrs_cnt * sizeof(uint64_t));
333 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_b);
336 for (uint32_t i = 0; i < ctrs_cnt; i++) {