Searched refs:SampleRateCalculator (Results 1 – 3 of 3) sorted by relevance
22 using i::SampleRateCalculator;644 TEST(SampleRateCalculator) { in TEST() argument650 SampleRateCalculator calc1; in TEST()654 time += SampleRateCalculator::kWallTimeQueryIntervalMs; in TEST()657 time += SampleRateCalculator::kWallTimeQueryIntervalMs; in TEST()660 time += SampleRateCalculator::kWallTimeQueryIntervalMs; in TEST()664 SampleRateCalculator calc2; in TEST()669 time += SampleRateCalculator::kWallTimeQueryIntervalMs * 0.5; in TEST()673 time += SampleRateCalculator::kWallTimeQueryIntervalMs * 0.75; in TEST()678 SampleRateCalculator calc3; in TEST()[all …]
351 class SampleRateCalculator {353 SampleRateCalculator() in SampleRateCalculator() function385 DISALLOW_COPY_AND_ASSIGN(SampleRateCalculator);440 SampleRateCalculator sample_rate_calc_;
803 void SampleRateCalculator::Tick() { in Tick()809 void SampleRateCalculator::UpdateMeasurements(double current_time) { in UpdateMeasurements()