Lines Matching refs:nconfig
32 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),
577 check_counters(mch.ncpus, mch.nfixed + mch.nconfig, tly, counts);
587 check_tally(mch.ncpus, mch.nfixed + mch.nconfig, tly);
634 unsigned int ctr = i * (mch.nfixed + mch.nconfig) + mch.nfixed;
719 uint64_t *periods = calloc(mch.nconfig, sizeof(*periods));
721 for (unsigned int i = 0; i < mch.nconfig; i++) {
734 int32_t *actions = calloc(mch.nconfig, sizeof(*actions));
735 for (unsigned int i = 0; i < mch.nconfig; i++) {