Home
last modified time | relevance | path

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

/openbmc/phosphor-hwmon/test/
H A Daverage_unittest.cpp34 EXPECT_FALSE(av.calcAverage(1L, 1L, 2L, 1L)); in TEST()
41 ASSERT_DEATH(av.calcAverage(1L, 1L, 2L, 0L), ""); in TEST()
48 EXPECT_TRUE(38837438L == av.calcAverage(27624108L, 132864155500L, 27626120L, in TEST()
/openbmc/phosphor-hwmon/
H A Daverage.hpp63 static std::optional<int64_t> calcAverage(
H A Daverage.cpp23 std::optional<int64_t> Average::calcAverage( in calcAverage() function in Average
H A Dmainloop.cpp556 auto calValue = Average::calcAverage( in read()