Searched refs:policySum (Results 1 – 2 of 2) sorted by relevance
88 uint64_t policySum = 0; in TestConcurrentTimesConsistent() local91 if (i < vec.size()) policySum += vec[i]; in TestConcurrentTimesConsistent()93 ASSERT_LE(concurrentTime.active[i], policySum); in TestConcurrentTimesConsistent()94 policySum -= concurrentTime.active[i]; in TestConcurrentTimesConsistent()96 policySum = 0; in TestConcurrentTimesConsistent()99 if (i < vec.size()) policySum += vec[vec.size() - 1 - i]; in TestConcurrentTimesConsistent()106 ASSERT_LE(activeSum, policySum); in TestConcurrentTimesConsistent()107 policySum -= activeSum; in TestConcurrentTimesConsistent()115 uint64_t policySum = 0; in TestUidTimesConsistent() local125 policySum += concurrentSum; in TestUidTimesConsistent()[all …]
411 uint64_t policySum = 0; in verifyConcurrentTimes() local413 policySum += std::accumulate(vec.begin(), vec.end(), (uint64_t)0); in verifyConcurrentTimes()415 return activeSum == policySum; in verifyConcurrentTimes()