Home
last modified time | relevance | path

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

/xnu-12377.61.12/tests/cpu_counters/
H A Dkpc_tests.c32 unsigned int nconfig; member
132 mch->nconfig = kpc_get_counter_count(KPC_CLASS_CONFIGURABLE_MASK); in prepare_kpc()
135 mch->nfixed, mch->nconfig); in prepare_kpc()
322 memset(counts, 0, sizeof(*counts) * mch.ncpus * (mch.nfixed + mch.nconfig));
323 struct tally *tly = calloc(mch.ncpus * mch.nconfig, sizeof(*tly));
334 check_counters(mch.ncpus, mch.nconfig, tly, counts);
343 check_tally(mch.ncpus, mch.nconfig, tly);
435 int32_t *actions = calloc(mch.nconfig, sizeof(*actions));
550 memset(counts, 0, sizeof(*counts) * mch.ncpus * (mch.nfixed + mch.nconfig));
551 struct tally *tly = calloc(mch.ncpus * (mch.nconfig + mch.nfixed),
[all …]