Lines Matching refs:nconfig
22 unsigned int nconfig; member
104 mch->nconfig = kpc_get_counter_count(KPC_CLASS_CONFIGURABLE_MASK); in prepare_kpc()
107 mch->nfixed, mch->nconfig); in prepare_kpc()
131 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods)); in kpc_reset_atend()
265 memset(counts, 0, sizeof(*counts) * mch.ncpus * (mch.nfixed + mch.nconfig));
266 struct tally *tly = calloc(mch.ncpus * mch.nconfig, sizeof(*tly));
277 check_counters(mch.ncpus, mch.nconfig, tly, counts);
286 check_tally(mch.ncpus, mch.nconfig, tly);
373 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods));
381 int32_t *actions = calloc(mch.nconfig, sizeof(*actions));
496 memset(counts, 0, sizeof(*counts) * mch.ncpus * (mch.nfixed + mch.nconfig));
497 struct tally *tly = calloc(mch.ncpus * (mch.nconfig + mch.nfixed),
523 check_counters(mch.ncpus, mch.nfixed + mch.nconfig, tly, counts);
533 check_tally(mch.ncpus, mch.nfixed + mch.nconfig, tly);
580 unsigned int ctr = i * (mch.nfixed + mch.nconfig) + mch.nfixed;
664 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods));
666 for (unsigned int i = 0; i < mch.nconfig; i++) {
679 int32_t *actions = calloc(mch.nconfig, sizeof(*actions));
680 for (unsigned int i = 0; i < mch.nconfig; i++) {