Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Doveruse_detector_unittest.cc666 int num_deltas = 60; in TEST_F() local
673 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
677 ++num_deltas; in TEST_F()
686 overuse_detector_->Detect(1.1 * kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
690 ++num_deltas; in TEST_F()
699 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
703 ++num_deltas; in TEST_F()
711 overuse_detector_->Detect(0.7 * kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
715 ++num_deltas; in TEST_F()
723 overuse_detector_->Detect(kOffset, kTsDelta, num_deltas, now_ms); in TEST_F()
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer.cc906 size_t num_deltas = events.size() - 1; in GetRateStats() local
907 for (size_t i = 0; i < num_deltas; ++i) { in GetRateStats()
927 num_deltas = deltas.size(); in GetRateStats()
929 for (size_t i = 0; i < num_deltas; ++i) in GetRateStats()
934 stats->mean_us = delta_sum / static_cast<double>(num_deltas); in GetRateStats()
937 for (size_t i = 0; i < num_deltas; ++i) { in GetRateStats()
942 sqrt(sum_mean_offsets_squared / static_cast<double>(num_deltas - 1)); in GetRateStats()