Home
last modified time | relevance | path

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

/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp164 uint64_t sumBefore = 0, sumAfter = 0; in TestCheckUpdate() local
171 sumBefore += std::accumulate(before[i].begin(), before[i].end(), (uint64_t)0); in TestCheckUpdate()
174 ASSERT_LE(sumBefore, sumAfter); in TestCheckUpdate()
175 ASSERT_LE(sumAfter - sumBefore, NSEC_PER_SEC); in TestCheckUpdate()