Home
last modified time | relevance | path

Searched refs:nbins (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Daccounting.c146 if (latency_ns >= hist->boundaries[hist->nbins - 2]) { in block_latency_histogram_account()
147 hist->bins[hist->nbins - 1]++; in block_latency_histogram_account()
151 pos = bsearch(&latency_ns, hist->boundaries, hist->nbins - 2, in block_latency_histogram_account()
176 hist->nbins = new_nbins; in block_latency_histogram_set()
178 hist->boundaries = g_new(uint64_t, hist->nbins - 1); in block_latency_histogram_set()
186 hist->bins = g_new0(uint64_t, hist->nbins); in block_latency_histogram_set()
H A Dqapi.c489 info->boundaries = uint64_list(hist->boundaries, hist->nbins - 1); in bdrv_latency_histogram_stats()
490 info->bins = uint64_list(hist->bins, hist->nbins); in bdrv_latency_histogram_stats()
/openbmc/qemu/include/block/
H A Daccounting.h76 int nbins; member