Lines Matching refs:tly
246 struct tally *tly = &tallies[ctr]; in check_counters() local
250 tly->nzero++; in check_counters()
252 if (tly->lastvalue == count) { in check_counters()
253 tly->nstuck++; in check_counters()
255 if (tly->lastvalue > count) { in check_counters()
256 tly->ndecrease++; in check_counters()
258 tly->lastvalue = count; in check_counters()
259 if (tly->nchecks == 0) { in check_counters()
260 tly->firstvalue = count; in check_counters()
262 tly->nchecks++; in check_counters()
278 struct tally *tly = &tallies[ctr]; in check_tally() local
282 tly->nchecks, tly->lastvalue, tly->lastvalue - tly->firstvalue, in check_tally()
283 tly->nstuck); in check_tally()
285 nchecks += tly->nchecks; in check_tally()
286 nstuck += tly->nstuck; in check_tally()
287 nzero += tly->nzero; in check_tally()
288 ndecrease += tly->ndecrease; in check_tally()
323 struct tally *tly = calloc(mch.ncpus * mch.nconfig, sizeof(*tly)); variable
324 T_QUIET; T_ASSERT_NOTNULL(tly, "allocated space for tallies");
334 check_counters(mch.ncpus, mch.nconfig, tly, counts);
343 check_tally(mch.ncpus, mch.nconfig, tly);
551 struct tally *tly = calloc(mch.ncpus * (mch.nconfig + mch.nfixed), variable
552 sizeof(*tly));
553 T_QUIET; T_WITH_ERRNO; T_ASSERT_NOTNULL(tly, "allocated tallies array");
577 check_counters(mch.ncpus, mch.nfixed + mch.nconfig, tly, counts);
587 check_tally(mch.ncpus, mch.nfixed + mch.nconfig, tly);
635 uint64_t delta = tly[ctr].lastvalue - tly[ctr].firstvalue;