Home
last modified time | relevance | path

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

/external/v8/test/cctest/
Dtest-profile-generator.cc651 CHECK_EQ(kSamplingIntervalMs, calc1.ticks_per_ms()); in TEST()
653 CHECK_EQ(kSamplingIntervalMs, calc1.ticks_per_ms()); in TEST()
656 CHECK_EQ(kSamplingIntervalMs, calc1.ticks_per_ms()); in TEST()
659 CHECK_EQ(kSamplingIntervalMs, calc1.ticks_per_ms()); in TEST()
662 CHECK_EQ(kSamplingIntervalMs, calc1.ticks_per_ms()); in TEST()
666 CHECK_EQ(kSamplingIntervalMs, calc2.ticks_per_ms()); in TEST()
668 CHECK_EQ(kSamplingIntervalMs, calc2.ticks_per_ms()); in TEST()
672 CHECK_EQ(kSamplingIntervalMs * 1.5, calc2.ticks_per_ms()); in TEST()
676 CHECK_EQ(kSamplingIntervalMs * 5.0, floor(calc2.ticks_per_ms() * 3.0 + 0.5)); in TEST()
680 CHECK_EQ(kSamplingIntervalMs, calc3.ticks_per_ms()); in TEST()
[all …]
/external/v8/src/
Dprofile-generator.h189 void SetTickRatePerMs(double ticks_per_ms);
360 double ticks_per_ms() { in ticks_per_ms() function
426 return sample_rate_calc_.ticks_per_ms(); in INLINE()
Dprofile-generator.cc373 void ProfileTree::SetTickRatePerMs(double ticks_per_ms) { in SetTickRatePerMs() argument
374 ms_to_ticks_scale_ = ticks_per_ms > 0 ? 1.0 / ticks_per_ms : 1.0; in SetTickRatePerMs()