Searched defs:stats2 (Results 1 - 1 of 1) sorted by relevance

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

Completed in 19 milliseconds