Searched refs:ComputeRateForInterval (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/rtc_base/ |
D | rate_tracker_unittest.cc | 40 EXPECT_DOUBLE_EQ(30.0, tracker.ComputeRateForInterval(50000)); in TEST() 53 EXPECT_DOUBLE_EQ(60.0, tracker.ComputeRateForInterval(1000)); in TEST() 58 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000)); in TEST() 67 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000)); in TEST() 75 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000)); in TEST() 83 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000)); in TEST() 89 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000)); in TEST() 96 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000)); in TEST() 107 EXPECT_DOUBLE_EQ(9876.0 * 10.0, tracker.ComputeRateForInterval(1000)); in TEST() 116 EXPECT_DOUBLE_EQ(9876.0 * 5.0, tracker.ComputeRateForInterval(1000)); in TEST() [all …]
|
D | rate_tracker.h | 30 double ComputeRateForInterval(int64_t interval_milliseconds) const; 35 return ComputeRateForInterval(bucket_milliseconds_ * in ComputeRate()
|
D | rate_tracker.cc | 36 double RateTracker::ComputeRateForInterval( in ComputeRateForInterval() function in rtc::RateTracker
|
/external/webrtc/video/ |
D | receive_statistics_proxy.cc | 484 render_fps_tracker_.ComputeRateForInterval(now - last_sample_time_); in QualitySample()
|
D | receive_statistics_proxy2.cc | 507 render_fps_tracker_.ComputeRateForInterval(now.ms() - last_sample_time_); in QualitySample()
|