Lines Matching refs:after
137 const std::vector<std::vector<uint64_t>> &after) { in TestCheckUpdate() argument
138 ASSERT_EQ(before.size(), after.size()); in TestCheckUpdate()
141 ASSERT_EQ(before[i].size(), after[i].size()); in TestCheckUpdate()
144 ASSERT_LE(before[i][j], after[i][j]); in TestCheckUpdate()
147 sumAfter += std::accumulate(after[i].begin(), after[i].end(), (uint64_t)0); in TestCheckUpdate()
286 void TestCheckDelta(uint64_t before, uint64_t after) { in TestCheckDelta() argument
288 ASSERT_LE(before, after); in TestCheckDelta()
290 ASSERT_LE(after - before, NSEC_PER_SEC * 2 * get_nprocs_conf()); in TestCheckDelta()
307 auto after = (*map2)[uid][policy][freqIdx]; in TEST() local
308 ASSERT_NO_FATAL_FAILURE(TestCheckDelta(before, after)); in TEST()
329 auto after = (*map2)[uid].active[i]; in TEST() local
330 ASSERT_NO_FATAL_FAILURE(TestCheckDelta(before, after)); in TEST()
335 auto after = (*map2)[uid].policy[policy][idx]; in TEST() local
336 ASSERT_NO_FATAL_FAILURE(TestCheckDelta(before, after)); in TEST()