Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerUtilsTest.cpp37 TEST_F(SchedulerUtilsTest, calculate_mean) { in TEST_F() argument
40 EXPECT_EQ(0, calculate_mean(testArray)); in TEST_F()
43 EXPECT_EQ(1, calculate_mean(testArray)); in TEST_F()
46 EXPECT_EQ(3, calculate_mean(testArray)); in TEST_F()
48 EXPECT_EQ(4, calculate_mean(testArray)); in TEST_F()
50 EXPECT_EQ(5, calculate_mean(testArray)); in TEST_F()
52 EXPECT_EQ(7, calculate_mean(testArray)); in TEST_F()
56 EXPECT_EQ(33, calculate_mean(testArray)); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DSchedulerUtils.h50 auto calculate_mean(const T& v) { in calculate_mean() function
DLayerInfo.h59 refreshDuration = scheduler::calculate_mean(mElements); in getRefreshRateAvg()