Lines Matching refs:tly
195 struct tally *tly = &tallies[ctr]; in check_counters() local
199 tly->nzero++; in check_counters()
201 if (tly->lastvalue == count) { in check_counters()
202 tly->nstuck++; in check_counters()
204 if (tly->lastvalue > count) { in check_counters()
205 tly->ndecrease++; in check_counters()
207 tly->lastvalue = count; in check_counters()
208 if (tly->nchecks == 0) { in check_counters()
209 tly->firstvalue = count; in check_counters()
211 tly->nchecks++; in check_counters()
227 struct tally *tly = &tallies[ctr]; in check_tally() local
231 tly->nchecks, tly->lastvalue, tly->lastvalue - tly->firstvalue, in check_tally()
232 tly->nstuck); in check_tally()
234 nchecks += tly->nchecks; in check_tally()
235 nstuck += tly->nstuck; in check_tally()
236 nzero += tly->nzero; in check_tally()
237 ndecrease += tly->ndecrease; in check_tally()
270 struct tally *tly = calloc(mch.ncpus * mch.nconfig, sizeof(*tly)); variable
271 T_QUIET; T_ASSERT_NOTNULL(tly, "allocated space for tallies");
281 check_counters(mch.ncpus, mch.nconfig, tly, counts);
290 check_tally(mch.ncpus, mch.nconfig, tly);
504 struct tally *tly = calloc(mch.ncpus * (mch.nconfig + mch.nfixed), variable
505 sizeof(*tly));
506 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(tly, "allocated tallies array");
530 check_counters(mch.ncpus, mch.nfixed + mch.nconfig, tly, counts);
540 check_tally(mch.ncpus, mch.nfixed + mch.nconfig, tly);
588 uint64_t delta = tly[ctr].lastvalue - tly[ctr].firstvalue;