Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionRecordsTest.cpp65 ASSERT_FALSE(mRecords->getAvgDuration().has_value()); in TEST_F()
73 ASSERT_EQ(MS_TO_US(3), mRecords->getAvgDuration().value()); in TEST_F()
80 ASSERT_EQ(MS_TO_US(2), mRecords->getAvgDuration().value()); in TEST_F()
87 ASSERT_EQ(MS_TO_US(6), mRecords->getAvgDuration().value()); in TEST_F()
/hardware/google/pixel/power-libperfmgr/aidl/
DSessionRecords.h49 std::optional<int32_t> getAvgDuration();
DSessionRecords.cpp97 std::optional<int32_t> SessionRecords::getAvgDuration() { in getAvgDuration() function in aidl::google::hardware::power::impl::pixel::SessionRecords
DPowerHintSession.cpp298 auto avgDurationUs = mSessionRecords->getAvgDuration(); // micro seconds in updateHeuristicBoost()