Lines Matching refs:nconfig
24 unsigned int nconfig; member
106 mch->nconfig = kpc_get_counter_count(KPC_CLASS_CONFIGURABLE_MASK); in prepare_kpc()
109 mch->nfixed, mch->nconfig); in prepare_kpc()
133 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods)); in kpc_reset_atend()
269 memset(counts, 0, sizeof(*counts) * mch.ncpus * (mch.nfixed + mch.nconfig));
270 struct tally *tly = calloc(mch.ncpus * mch.nconfig, sizeof(*tly));
281 check_counters(mch.ncpus, mch.nconfig, tly, counts);
290 check_tally(mch.ncpus, mch.nconfig, tly);
380 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods));
388 int32_t *actions = calloc(mch.nconfig, sizeof(*actions));
503 memset(counts, 0, sizeof(*counts) * mch.ncpus * (mch.nfixed + mch.nconfig));
504 struct tally *tly = calloc(mch.ncpus * (mch.nconfig + mch.nfixed),
530 check_counters(mch.ncpus, mch.nfixed + mch.nconfig, tly, counts);
540 check_tally(mch.ncpus, mch.nfixed + mch.nconfig, tly);
587 unsigned int ctr = i * (mch.nfixed + mch.nconfig) + mch.nfixed;
674 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods));
676 for (unsigned int i = 0; i < mch.nconfig; i++) {
689 int32_t *actions = calloc(mch.nconfig, sizeof(*actions));
690 for (unsigned int i = 0; i < mch.nconfig; i++) {