Home
last modified time | relevance | path

Searched refs:activeSum (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp101 auto activeSum = concurrentTime.active[concurrentTime.active.size() - 1 - i]; in TestConcurrentTimesConsistent() local
106 ASSERT_LE(activeSum, policySum); in TestConcurrentTimesConsistent()
107 policySum -= activeSum; in TestConcurrentTimesConsistent()
127 uint64_t activeSum = std::accumulate(concurrentTime.active.begin(), concurrentTime.active.end(), in TestUidTimesConsistent() local
129 EXPECT_EQ(activeSum, policySum); in TestUidTimesConsistent()
544 uint64_t activeSum = 0; in TEST_F() local
546 activeSum += concurrentTimes->active[i]; in TEST_F()
548 ASSERT_GT(activeSum, (uint64_t)0); in TEST_F()
Dcputimeinstate.cpp410 uint64_t activeSum = std::accumulate(ct.active.begin(), ct.active.end(), (uint64_t)0); in verifyConcurrentTimes() local
415 return activeSum == policySum; in verifyConcurrentTimes()