Home
last modified time | relevance | path

Searched refs:uclampMax (Results 1 – 10 of 10) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionTaskMapTest.cpp327 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()
DUClampVoterTest.cpp50 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/
DUClampVoter.cpp32 uclampRange.uclampMax = std::min(uclampRange.uclampMax, cpu_vote.mUclampRange.uclampMax); in confine()
36 o << "[" << uc.uclampMin << "," << uc.uclampMax << "]"; in operator <<()
DSessionTaskMap.cpp49 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()
DSessionValueEntry.cpp35 os << "-" << uclampRange.uclampMax; in dump()
DPowerSessionManager.cpp63 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()
DSessionTaskMap.h50 void addVote(int64_t sessionId, int voteId, int uclampMin, int uclampMax,
DUClampVoter.h39 int uclampMax{kUclampMax};
DPowerSessionManager.h70 void voteSet(int64_t sessionId, AdpfVoteType voteId, int uclampMin, int uclampMax,
/hardware/google/pixel/power-libperfmgr/aidl/tests/mocks/
DMockPowerSessionManager.h53 (int64_t sessionId, impl::pixel::AdpfVoteType voteId, int uclampMin, int uclampMax,