Home
last modified time | relevance | path

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

/system/core/storaged/tests/
Dstoraged_test.cpp201 struct disk_stats disk_stats_add(struct disk_stats stats1, struct disk_stats stats2) { in disk_stats_add() argument
203 retval.read_ios = stats1.read_ios + stats2.read_ios; in disk_stats_add()
204 retval.read_merges = stats1.read_merges + stats2.read_merges; in disk_stats_add()
205 retval.read_sectors = stats1.read_sectors + stats2.read_sectors; in disk_stats_add()
206 retval.read_ticks = stats1.read_ticks + stats2.read_ticks; in disk_stats_add()
207 retval.write_ios = stats1.write_ios + stats2.write_ios; in disk_stats_add()
208 retval.write_merges = stats1.write_merges + stats2.write_merges; in disk_stats_add()
209 retval.write_sectors = stats1.write_sectors + stats2.write_sectors; in disk_stats_add()
210 retval.write_ticks = stats1.write_ticks + stats2.write_ticks; in disk_stats_add()
211 retval.io_in_flight = stats1.io_in_flight + stats2.io_in_flight; in disk_stats_add()
[all …]