Searched refs:averageFrameTime (Results 1 – 2 of 2) sorted by relevance
86 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F() local87 ASSERT_TRUE(averageFrameTime.has_value()); in TEST_F()88 ASSERT_EQ(kExpectedFps, Fps::fromPeriodNsecs(*averageFrameTime)); in TEST_F()103 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F() local104 ASSERT_TRUE(averageFrameTime.has_value()); in TEST_F()105 ASSERT_EQ(kExpectedFps, Fps::fromPeriodNsecs(*averageFrameTime)); in TEST_F()165 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F() local166 ASSERT_TRUE(averageFrameTime.has_value()); in TEST_F()167 ASSERT_EQ(kExpectedFps, Fps::fromPeriodNsecs(*averageFrameTime)); in TEST_F()194 const auto averageFrameTime = calculateAverageFrameTime(); in TEST_F() local[all …]
269 const auto averageFrameTime = static_cast<double>(totalDeltas) / static_cast<double>(numDeltas); in calculateAverageFrameTime() local270 return static_cast<nsecs_t>(averageFrameTime); in calculateAverageFrameTime()282 if (const auto averageFrameTime = calculateAverageFrameTime()) { in calculateRefreshRateIfPossible() local283 const auto refreshRate = Fps::fromPeriodNsecs(*averageFrameTime); in calculateRefreshRateIfPossible()