Home
last modified time | relevance | path

Searched refs:calc3 (Results 1 – 1 of 1) sorted by relevance

/external/v8/test/cctest/
Dtest-profile-generator.cc678 SampleRateCalculator calc3; in TEST() local
680 CHECK_EQ(kSamplingIntervalMs, calc3.ticks_per_ms()); in TEST()
681 calc3.UpdateMeasurements(time); in TEST()
682 CHECK_EQ(kSamplingIntervalMs, calc3.ticks_per_ms()); in TEST()
684 calc3.UpdateMeasurements(time); in TEST()
686 CHECK_EQ(kSamplingIntervalMs * 0.75, calc3.ticks_per_ms()); in TEST()
688 calc3.UpdateMeasurements(time); in TEST()
690 CHECK_EQ(kSamplingIntervalMs * 2.0, floor(calc3.ticks_per_ms() * 3.0 + 0.5)); in TEST()