Searched refs:disk_perf (Results 1 – 5 of 5) sorted by relevance
92 struct disk_perf { struct167 std::queue<struct disk_perf> mBuffer;178 struct disk_perf mMean;179 struct disk_perf mStd;183 void add(struct disk_perf* perf);184 void evict(struct disk_perf* perf);185 bool detect(struct disk_perf* perf);
29 struct disk_perf get_disk_perf(struct disk_stats* stats);40 void log_debug_disk_perf(struct disk_perf* perf, const char* type);
75 struct disk_perf get_disk_perf(struct disk_stats* stats) { in get_disk_perf()76 struct disk_perf perf; in get_disk_perf()77 memset(&perf, 0, sizeof(struct disk_perf)); // initialize in get_disk_perf()199 void log_debug_disk_perf(struct disk_perf* perf, const char* type) { in log_debug_disk_perf()202 struct disk_perf zero_cmp; in log_debug_disk_perf()204 if (memcmp(&zero_cmp, perf, sizeof(struct disk_perf)) == 0) return; in log_debug_disk_perf()212 void log_debug_disk_perf(struct disk_perf* /* perf */, const char* /* type */) {} in log_debug_disk_perf() argument
37 struct disk_perf perf = get_disk_perf(&mAccumulate); in publish()78 void disk_stats_monitor::add(struct disk_perf* perf) { in add()86 void disk_stats_monitor::evict(struct disk_perf* perf) { in evict()94 bool disk_stats_monitor::detect(struct disk_perf* perf) { in detect()102 struct disk_perf perf = get_disk_perf(&inc); in update()114 struct disk_perf acc_perf = get_disk_perf(&mAccumulate); in update()
184 static 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()221 struct disk_perf norm_perf = { in TEST()234 struct disk_perf perf = disk_perf_multiply(norm_perf, rand(gen)); in TEST()246 struct disk_perf test_perf; in TEST()247 struct disk_perf test_mean = dsm_detect.mMean; in TEST()248 struct disk_perf test_std = dsm_detect.mStd; in TEST()