Home
last modified time | relevance | path

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

/system/core/storaged/tests/
Dstoraged_test.cpp247 disk_stats_monitor dsm_detect{healthService}; in TEST() local
248 ASSERT_TRUE(dsm_detect.enabled()); in TEST()
264 for (uint i = 0; i < dsm_detect.mWindow; ++i) { in TEST()
267 dsm_detect.add(&perf); in TEST()
268 dsm_detect.mBuffer.push(perf); in TEST()
269 EXPECT_EQ(dsm_detect.mBuffer.size(), (uint64_t)i + 1); in TEST()
272 dsm_detect.mValid = true; in TEST()
273 dsm_detect.update_mean(); in TEST()
274 dsm_detect.update_std(); in TEST()
276 for (double i = 0; i < 2 * dsm_detect.mSigma; i += 0.5) { in TEST()
[all …]