Searched refs:getSessionsGpuCapacity (Results 1 – 4 of 4) sorted by relevance
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | SessionTaskMapTest.cpp | 350 EXPECT_EQ(m.getSessionsGpuCapacity(now + 1ms), Cycles(222)); in TEST() 351 EXPECT_EQ(m.getSessionsGpuCapacity(now + 401ms), Cycles(0)); in TEST() 354 EXPECT_EQ(m.getSessionsGpuCapacity(now + 1ms), Cycles(111)); in TEST() 355 EXPECT_EQ(m.getSessionsGpuCapacity(now + 101ms), Cycles(0)); in TEST() 358 EXPECT_EQ(m.getSessionsGpuCapacity(now + 1ms), Cycles(555)); in TEST() 359 EXPECT_EQ(m.getSessionsGpuCapacity(now + 51ms), Cycles(111)); in TEST() 360 EXPECT_EQ(m.getSessionsGpuCapacity(now + 101ms), Cycles(0)); in TEST() 384 EXPECT_EQ(m.getSessionsGpuCapacity(now + 1ms), Cycles(333)); in TEST() 385 EXPECT_EQ(m.getSessionsGpuCapacity(now + 101ms), Cycles(222)); in TEST() 386 EXPECT_EQ(m.getSessionsGpuCapacity(now + 401ms), Cycles(0)); in TEST() [all …]
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | SessionTaskMap.h | 63 Cycles getSessionsGpuCapacity(std::chrono::steady_clock::time_point time_point) const;
|
D | SessionTaskMap.cpp | 105 Cycles SessionTaskMap::getSessionsGpuCapacity( in getSessionsGpuCapacity() function in aidl::google::hardware::power::impl::pixel::SessionTaskMap
|
D | PowerSessionManager.cpp | 518 auto const capacity = mSessionTaskMap.getSessionsGpuCapacity(timePoint); in applyGpuVotesLocked()
|