Home
last modified time | relevance | path

Searched refs:nr_samples (Results 1 – 5 of 5) sorted by relevance

/block/
Dblk-stat.c24 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init()
31 if (!src->nr_samples) in blk_rq_stat_sum()
37 dst->mean = div_u64(src->batch + dst->mean * dst->nr_samples, in blk_rq_stat_sum()
38 dst->nr_samples + src->nr_samples); in blk_rq_stat_sum()
40 dst->nr_samples += src->nr_samples; in blk_rq_stat_sum()
48 stat->nr_samples++; in blk_rq_stat_add()
Dblk-iolatency.c117 u64 nr_samples; member
154 u64 nr_samples; member
247 return stat->rqs.nr_samples; in latency_stat_samples()
442 samples_thresh = lat_info->nr_samples * 5; in check_scale_change()
444 if (iolat->nr_samples <= samples_thresh) in check_scale_change()
561 lat_info->nr_samples -= iolat->nr_samples; in iolatency_check_latencies()
562 lat_info->nr_samples += latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
563 iolat->nr_samples = latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
Dblk-wbt.c213 return (stat[READ].nr_samples >= 1 && in stat_sample_valid()
214 stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); in stat_sample_valid()
252 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded()
267 if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || in latency_exceeded()
Dblk-mq-debugfs.c19 if (stat->nr_samples) { in print_stat()
21 stat->nr_samples, stat->mean, stat->min, stat->max); in print_stat()
Dblk-mq.c3904 if (cb->stat[bucket].nr_samples) in blk_mq_poll_stats_fn()
3935 if (q->poll_stat[bucket].nr_samples) in blk_mq_poll_nsecs()