Searched refs:policySum (Results 1 – 2 of 2) sorted by relevance
63 uint64_t policySum = 0; in TestConcurrentTimesConsistent() local66 if (i < vec.size()) policySum += vec[i]; in TestConcurrentTimesConsistent()68 ASSERT_LE(concurrentTime.active[i], policySum); in TestConcurrentTimesConsistent()69 policySum -= concurrentTime.active[i]; in TestConcurrentTimesConsistent()71 policySum = 0; in TestConcurrentTimesConsistent()74 if (i < vec.size()) policySum += vec[vec.size() - 1 - i]; in TestConcurrentTimesConsistent()81 ASSERT_LE(activeSum, policySum); in TestConcurrentTimesConsistent()82 policySum -= activeSum; in TestConcurrentTimesConsistent()90 uint64_t policySum = 0; in TestUidTimesConsistent() local100 policySum += concurrentSum; in TestUidTimesConsistent()[all …]
344 uint64_t policySum = 0; in verifyConcurrentTimes() local346 policySum += std::accumulate(vec.begin(), vec.end(), (uint64_t)0); in verifyConcurrentTimes()348 return activeSum == policySum; in verifyConcurrentTimes()