Home
last modified time | relevance | path

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

/system/core/storaged/tests/
Dstoraged_test.cpp195 struct disk_stats disk_stats_add(struct disk_stats stats1, struct disk_stats stats2) { in disk_stats_add() argument
197 retval.read_ios = stats1.read_ios + stats2.read_ios; in disk_stats_add()
198 retval.read_merges = stats1.read_merges + stats2.read_merges; in disk_stats_add()
199 retval.read_sectors = stats1.read_sectors + stats2.read_sectors; in disk_stats_add()
200 retval.read_ticks = stats1.read_ticks + stats2.read_ticks; in disk_stats_add()
201 retval.write_ios = stats1.write_ios + stats2.write_ios; in disk_stats_add()
202 retval.write_merges = stats1.write_merges + stats2.write_merges; in disk_stats_add()
203 retval.write_sectors = stats1.write_sectors + stats2.write_sectors; in disk_stats_add()
204 retval.write_ticks = stats1.write_ticks + stats2.write_ticks; in disk_stats_add()
205 retval.io_in_flight = stats1.io_in_flight + stats2.io_in_flight; in disk_stats_add()
[all …]