Searched refs:uclampMax (Results 1 – 10 of 10) sorted by relevance
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | SessionTaskMapTest.cpp | 327 uclampRange.uclampMax = 1024; in TEST() 407 UclampRange baseVote{.uclampMin = 100, .uclampMax = 1024}; in TEST() 409 m.addVote(2, 1, baseVote.uclampMin, baseVote.uclampMax, t0, 400ns); in TEST() 410 m.addVote(3, 1, baseVote.uclampMin, baseVote.uclampMax, t0, 400ns); in TEST() 415 EXPECT_EQ(range.uclampMax, baseVote.uclampMin + *maxEfficientOffset); in TEST() 420 EXPECT_EQ(range.uclampMax, *maxEfficientBase); in TEST() 425 EXPECT_EQ(range.uclampMax, baseVote.uclampMax); in TEST() 430 EXPECT_EQ(range.uclampMax, baseVote.uclampMax); in TEST()
|
D | UClampVoterTest.cpp | 50 EXPECT_EQ(1024, uclamp_range.uclampMax); in TEST() 93 EXPECT_EQ(kUclampMax, ur.uclampMax); in TEST() 111 EXPECT_EQ(kUclampMax, ur1.uclampMax); in TEST() 116 EXPECT_EQ(kUclampMax, ur2.uclampMax); in TEST() 121 EXPECT_EQ(1024, ur3.uclampMax); in TEST() 223 EXPECT_EQ(range.uclampMax, 1024); in TEST()
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | UClampVoter.cpp | 32 uclampRange.uclampMax = std::min(uclampRange.uclampMax, cpu_vote.mUclampRange.uclampMax); in confine() 36 o << "[" << uc.uclampMin << "," << uc.uclampMax << "]"; in operator <<()
|
D | SessionTaskMap.cpp | 49 void SessionTaskMap::addVote(int64_t sessionId, int voteId, int uclampMin, int uclampMax, in addVote() argument 58 CpuVote(true, startTime, durationNs, uclampMin, uclampMax)); in addVote() 97 range.uclampMax = std::min(range.uclampMax, in getTaskVoteRange()
|
D | SessionValueEntry.cpp | 35 os << "-" << uclampRange.uclampMax; in dump()
|
D | PowerSessionManager.cpp | 63 range.uclampMax = std::min(std::max(range.uclampMax, range.uclampMin), kUclampMax); in set_uclamp() 70 attr.sched_util_max = range.uclampMax; in set_uclamp() 315 int uclampMin, int uclampMax, in voteSet() argument 331 mSessionTaskMap.addVote(sessionId, voteIdInt, uclampMin, uclampMax, startTime, durationNs); in voteSet()
|
D | SessionTaskMap.h | 50 void addVote(int64_t sessionId, int voteId, int uclampMin, int uclampMax,
|
D | UClampVoter.h | 39 int uclampMax{kUclampMax};
|
D | PowerSessionManager.h | 70 void voteSet(int64_t sessionId, AdpfVoteType voteId, int uclampMin, int uclampMax,
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/mocks/ |
D | MockPowerSessionManager.h | 53 (int64_t sessionId, impl::pixel::AdpfVoteType voteId, int uclampMin, int uclampMax,
|