Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-profile-generator.cc22 using i::SampleRateCalculator;
644 TEST(SampleRateCalculator) { in TEST() argument
650 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 …]
/external/v8/src/
Dprofile-generator.h351 class SampleRateCalculator {
353 SampleRateCalculator() in SampleRateCalculator() function
385 DISALLOW_COPY_AND_ASSIGN(SampleRateCalculator);
440 SampleRateCalculator sample_rate_calc_;
Dprofile-generator.cc803 void SampleRateCalculator::Tick() { in Tick()
809 void SampleRateCalculator::UpdateMeasurements(double current_time) { in UpdateMeasurements()