Searched refs:calc2 (Results 1 – 2 of 2) sorted by relevance
664 SampleRateCalculator calc2; in TEST() local666 CHECK_EQ(kSamplingIntervalMs, calc2.ticks_per_ms()); in TEST()667 calc2.UpdateMeasurements(time); in TEST()668 CHECK_EQ(kSamplingIntervalMs, calc2.ticks_per_ms()); in TEST()670 calc2.UpdateMeasurements(time); in TEST()672 CHECK_EQ(kSamplingIntervalMs * 1.5, calc2.ticks_per_ms()); in TEST()674 calc2.UpdateMeasurements(time); in TEST()676 CHECK_EQ(kSamplingIntervalMs * 5.0, floor(calc2.ticks_per_ms() * 3.0 + 0.5)); in TEST()
52 int calc2() { in calc2() function