Lines Matching refs:nctrs
112 int nctrs = 0; variable
131 nctrs++;
132 } while (nctrs < CTRS_MAX);
134 T_EXPECT_LT(nctrs, CTRS_MAX, "able to allocate %d uncore PMCs", nctrs);
229 int nctrs = 0; in uncore_add_all() local
246 nctrs++; in uncore_add_all()
247 } while (nctrs < CTRS_MAX); in uncore_add_all()
257 return nctrs; in uncore_add_all()
267 int nctrs = 0; variable
282 nctrs = uncore_add_all(fd, REF_TIMEBASE_EVENT, &nmonitors);
283 ctr_mask = (UINT64_C(1) << nctrs) - 1;
285 T_LOG("added %d counters to check", nctrs);
304 for (int i = 0; i < nctrs; i++) {
329 for (int i = 0; i < nctrs; i++) {
383 int nctrs; variable
395 nctrs = uncore_add_all(fd, REF_TIMEBASE_EVENT, &nmonitors);
396 ctr_mask = (UINT64_C(1) << nctrs) - 1;
402 uint64_t counts[nctrs * nmonitors];
415 for (int i = 0; i < (nctrs - 1); i++) {