Home
last modified time | relevance | path

Searched refs:GetCountPerSecond (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/browser/download/
Drate_estimator_unittest.cc16 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 …]
Drate_estimator.cc59 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
Drate_estimator.h36 uint64 GetCountPerSecond() const;
37 uint64 GetCountPerSecond(base::TimeTicks now) const;
Ddownload_file_impl.cc192 return rate_estimator_.GetCountPerSecond(); in CurrentSpeed()