Searched refs:nctrs (Results 1 – 2 of 2) sorted by relevance
| /xnu-12377.1.9/tests/ |
| H A D | monotonic_uncore.c | 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); [all …]
|
| /xnu-12377.1.9/tests/cpu_counters/ |
| H A D | kpc_tests.c | 240 check_counters(unsigned int ncpus, unsigned int nctrs, struct tally *tallies, in check_counters() argument 244 for (unsigned int j = 0; j < nctrs; j++) { in check_counters() 245 unsigned int ctr = i * nctrs + j; in check_counters() 268 check_tally(unsigned int ncpus, unsigned int nctrs, struct tally *tallies) in check_tally() argument 276 for (unsigned int j = 0; j < nctrs; j++) { in check_tally() 277 unsigned int ctr = i * nctrs + j; in check_tally()
|