Searched refs:ComputeRateForInterval (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/base/ |
D | ratetracker_unittest.cc | 36 EXPECT_DOUBLE_EQ(30.0, tracker.ComputeRateForInterval(50000u)); in TEST() 49 EXPECT_DOUBLE_EQ(60.0, tracker.ComputeRateForInterval(1000u)); in TEST() 54 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000u)); in TEST() 60 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000u)); in TEST() 68 EXPECT_DOUBLE_EQ(12340.0, tracker.ComputeRateForInterval(1000u)); in TEST() 76 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000u)); in TEST() 82 EXPECT_DOUBLE_EQ(1234.0 * 2.0, tracker.ComputeRateForInterval(1000u)); in TEST() 89 EXPECT_DOUBLE_EQ(0.0, tracker.ComputeRateForInterval(1000u)); in TEST() 100 EXPECT_DOUBLE_EQ(9876.0 * 10.0, tracker.ComputeRateForInterval(1000u)); in TEST() 109 EXPECT_DOUBLE_EQ(9876.0 * 5.0, tracker.ComputeRateForInterval(1000u)); in TEST() [all …]
|
D | ratetracker.h | 30 double ComputeRateForInterval(uint32_t interval_milliseconds) const; 35 return ComputeRateForInterval(bucket_milliseconds_ * in ComputeRate()
|
D | ratetracker.cc | 36 double RateTracker::ComputeRateForInterval( in ComputeRateForInterval() function in rtc::RateTracker
|