Home
last modified time | relevance | path

Searched refs:disk_stats (Results 1 – 8 of 8) sorted by relevance

/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/
H A Dparsing.py41 self.disk_stats = []
232 while len (self.disk_stats) \
233 and self.disk_stats[-1].time > crop_at:
234 self.disk_stats.pop()
481 disk_stats = []
493 return disk_stats
543 disk_stats = []
556 disk_stats.append(sample)
558 return disk_stats
755 state.disk_stats = _parse_proc_disk_stat_log(file)
[all …]
H A Ddraw.py357 if trace.disk_stats:
409 if trace.disk_stats:
419 [(sample.time, sample.util) for sample in trace.disk_stats], \
423 max_sample = max (trace.disk_stats, key = lambda s: s.tput)
426 [(sample.time, sample.tput) for sample in trace.disk_stats], \
/openbmc/linux/include/linux/
H A Dpart_stat.h8 struct disk_stats { struct
49 sizeof(struct disk_stats)); in part_stat_set_all()
H A Dblk_types.h45 struct disk_stats __percpu *bd_stats;
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dparser_test.py38 self.assertEqual(141, len(state.disk_stats))
66 …es = parsing.parse_file(writer, state_with_headers, self.mk_fname('proc_diskstats.log')).disk_stats
/openbmc/linux/block/
H A Dgenhd.c101 struct disk_stats *stat) in part_stat_read_all()
105 memset(stat, 0, sizeof(struct disk_stats)); in part_stat_read_all()
107 struct disk_stats *ptr = per_cpu_ptr(part->bd_stats, cpu); in part_stat_read_all()
948 struct disk_stats stat; in part_stat_show()
1237 struct disk_stats stat; in diskstats_show()
H A Dbdev.c409 bdev->bd_stats = alloc_percpu(struct disk_stats); in bdev_alloc()
H A Dblk-cgroup.c1120 struct disk_stats *cpu_dkstats; in blkcg_fill_root_iostats()