Searched refs:isTimeInRange (Results 1 – 3 of 3) sorted by relevance
53 TEST(VoteRange, isTimeInRange) { in TEST() argument56 EXPECT_FALSE(vote_range.isTimeInRange(tNow - 1ns)); in TEST()57 EXPECT_TRUE(vote_range.isTimeInRange(tNow)); in TEST()58 EXPECT_TRUE(vote_range.isTimeInRange(tNow + 1ns)); in TEST()59 EXPECT_TRUE(vote_range.isTimeInRange(tNow + 250ms)); in TEST()60 EXPECT_FALSE(vote_range.isTimeInRange(tNow + 250ms + 1ns)); in TEST()69 EXPECT_FALSE(vote_range.isTimeInRange(tNow)); in TEST()70 EXPECT_FALSE(vote_range.isTimeInRange(tNow + 1ns)); in TEST()71 EXPECT_FALSE(vote_range.isTimeInRange(tNow + 250ms)); in TEST()72 EXPECT_FALSE(vote_range.isTimeInRange(tNow + 250ms + 1ns)); in TEST()[all …]
28 if (!cpu_vote.isTimeInRange(t)) { in confine()65 if (it != mGpuVotes.end() && it->second.isTimeInRange(t)) { in getGpuCapacityRequest()104 if (!v.second.isTimeInRange(t)) { in anyTimedOut()110 if (!v.second.isTimeInRange(t)) { in anyTimedOut()119 if (v.second.isTimeInRange(t)) { in allTimedOut()125 if (v.second.isTimeInRange(t)) { in allTimedOut()
74 inline bool isTimeInRange(std::chrono::steady_clock::time_point t) const { in isTimeInRange() function