Searched refs:histo (Results 1 – 3 of 3) sorted by relevance
701 uint64_t histo[HISTOSZ]; in dbuf_stats() local711 histo[i] = 0; in dbuf_stats()742 histo[len]++; in dbuf_stats()753 if (histo[i] > 0) in dbuf_stats()757 mdb_printf("%u %llu\n", i, histo[i]); in dbuf_stats()1321 if (histo[i] > max) in dump_histogram()1322 max = histo[i]; in dump_histogram()1323 if (histo[i] > 0 && i > maxidx) in dump_histogram()1325 if (histo[i] > 0 && i < minidx) in dump_histogram()1334 i + offset, (u_longlong_t)histo[i], in dump_histogram()[all …]
303 dump_histogram(const uint64_t *histo, int size, int offset) in dump_histogram() argument311 if (histo[i] > max) in dump_histogram()312 max = histo[i]; in dump_histogram()313 if (histo[i] > 0 && i > maxidx) in dump_histogram()315 if (histo[i] > 0 && i < minidx) in dump_histogram()324 i + offset, (u_longlong_t)histo[i], in dump_histogram()325 &histo_stars[(max - histo[i]) * histo_width / max]); in dump_histogram()
3819 single_histo_average(uint64_t *histo, unsigned int buckets) in single_histo_average() argument3835 if (histo[i] != 0) { in single_histo_average()3836 total += histo[i] * (((1UL << i) + ((1UL << i)/2))); in single_histo_average()3837 count += histo[i]; in single_histo_average()