Searched refs:GetCountPerSecond (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/content/browser/download/ |
D | rate_estimator_unittest.cc | 16 EXPECT_EQ(0u, estimator.GetCountPerSecond(now)); in TEST() 19 EXPECT_EQ(50u, estimator.GetCountPerSecond(now)); in TEST() 23 EXPECT_EQ(100u, estimator.GetCountPerSecond(now)); in TEST() 27 EXPECT_EQ(25u, estimator.GetCountPerSecond(now)); in TEST() 29 EXPECT_EQ(40u, estimator.GetCountPerSecond(now)); in TEST() 33 EXPECT_EQ(20u, estimator.GetCountPerSecond(now)); in TEST() 37 EXPECT_EQ(16u, estimator.GetCountPerSecond(now)); in TEST() 39 EXPECT_EQ(26u, estimator.GetCountPerSecond(now)); in TEST() 43 EXPECT_EQ(16u, estimator.GetCountPerSecond(now)); in TEST() 45 EXPECT_EQ(26u, estimator.GetCountPerSecond(now)); in TEST() [all …]
|
D | rate_estimator.cc | 59 uint64 RateEstimator::GetCountPerSecond() const { in GetCountPerSecond() function in content::RateEstimator 60 return GetCountPerSecond(TimeTicks::Now()); in GetCountPerSecond() 63 uint64 RateEstimator::GetCountPerSecond(TimeTicks now) const { in GetCountPerSecond() function in content::RateEstimator
|
D | rate_estimator.h | 36 uint64 GetCountPerSecond() const; 37 uint64 GetCountPerSecond(base::TimeTicks now) const;
|
D | download_file_impl.cc | 192 return rate_estimator_.GetCountPerSecond(); in CurrentSpeed()
|