Home
last modified time | relevance | path

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

/system/core/storaged/include/
Dstoraged_diskstats.h105 struct disk_perf { struct
152 std::queue<struct disk_perf> mBuffer;
163 struct disk_perf mMean;
164 struct disk_perf mStd;
169 void add(struct disk_perf* perf);
170 void evict(struct disk_perf* perf);
171 bool detect(struct disk_perf* perf);
Dstoraged_utils.h31 struct disk_perf get_disk_perf(struct disk_stats* stats);
/system/core/storaged/
Dstoraged_diskstats.cpp40 void log_debug_disk_perf(struct disk_perf* perf, const char* type) { in log_debug_disk_perf()
50 void log_debug_disk_perf(struct disk_perf* perf, const char* type) {} in log_debug_disk_perf()
159 struct disk_perf get_disk_perf(struct disk_stats* stats) in get_disk_perf()
161 struct disk_perf perf = {}; in get_disk_perf()
243 void disk_stats_monitor::add(struct disk_perf* perf) in add()
252 void disk_stats_monitor::evict(struct disk_perf* perf) { in evict()
260 bool disk_stats_monitor::detect(struct disk_perf* perf) in detect()
273 struct disk_perf perf = get_disk_perf(&inc); in update()
296 struct disk_perf acc_perf = get_disk_perf(&mAccumulate); in update()
325 struct disk_perf perf = get_disk_perf(&mAccumulate_pub); in publish()
/system/core/storaged/tests/
Dstoraged_test.cpp184 struct disk_perf disk_perf_multiply(struct disk_perf perf, double mul) { in disk_perf_multiply()
185 struct disk_perf retval; in disk_perf_multiply()
252 struct disk_perf norm_perf = { in TEST()
265 struct disk_perf perf = disk_perf_multiply(norm_perf, rand(gen)); in TEST()
277 struct disk_perf test_perf; in TEST()
278 struct disk_perf test_mean = dsm_detect.mMean; in TEST()
279 struct disk_perf test_std = dsm_detect.mStd; in TEST()