Searched refs:ctrs_cnt (Results 1 – 1 of 1) sorted by relevance
301 uint32_t ctrs_cnt; variable309 ctrs_cnt = kpc_get_counter_count(KPC_CLASS_FIXED_MASK);310 if (ctrs_cnt == 0) {313 T_LOG("device has %" PRIu32 " fixed counters", ctrs_cnt);323 ctrs_a = malloc(ctrs_cnt * sizeof(uint64_t));326 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_a);329 for (uint32_t i = 0; i < ctrs_cnt; i++) {335 ctrs_b = malloc(ctrs_cnt * sizeof(uint64_t));338 err = kpc_get_thread_counters(0, ctrs_cnt, ctrs_b);341 for (uint32_t i = 0; i < ctrs_cnt; i++) {