Searched refs:last_sample_ (Results 1 – 5 of 5) sorted by relevance
23 StatsCounterObserverImpl() : num_calls_(0), last_sample_(-1) {} in StatsCounterObserverImpl()26 last_sample_ = sample; in OnMetricUpdated()29 int last_sample_; member in webrtc::__anon2457a1550111::StatsCounterObserverImpl95 EXPECT_EQ(6, observer->last_sample_); in TEST_F()112 EXPECT_EQ(7, observer->last_sample_); in TEST_F()133 EXPECT_EQ(9, observer->last_sample_); in TEST_F()152 EXPECT_EQ(50, observer->last_sample_); in TEST_F()170 EXPECT_EQ(500, observer->last_sample_); in TEST_F()189 EXPECT_EQ(279, observer->last_sample_); in TEST_F()207 EXPECT_EQ(94, observer->last_sample_); in TEST_F()[all …]
45 AggregatedCounter() : last_sample_(0), sum_samples_(0) {} in AggregatedCounter()49 last_sample_ = sample; in Add()67 int last_sample() const { return last_sample_; } in last_sample()77 int last_sample_; member in webrtc::AggregatedCounter
48 state_ = last_sample_ = sample; in AddSample()55 last_sample_ = sample; in AddSample()115 state_ = multiplier * state_ + (1.0f - multiplier) * last_sample_; in ExtrapolateLastSample()
63 float last_sample_; variable
24 void AddSample(float sample) override { last_sample_ = sample; } in AddSample()26 absl::optional<float> GetAverage() override { return last_sample_; } in GetAverage()34 absl::optional<float> last_sample_; member in webrtc::__anon724a448e0111::NullSmoothingFilter