Home
last modified time | relevance | path

Searched refs:GetAverage (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/rtc_base/numerics/
Devent_based_exponential_moving_average_unittest.cc29 EXPECT_TRUE(std::isnan(average.GetAverage())); in TEST()
41 EXPECT_NEAR(value, average.GetAverage(), kError); in TEST()
54 EXPECT_NEAR(666.7, average.GetAverage(), kError); in TEST()
66 EXPECT_NEAR(value, average.GetAverage(), kError); in TEST()
80 EXPECT_NEAR(100.2, average.GetAverage(), kError); in TEST()
88 EXPECT_NEAR(100.0, average.GetAverage(), kError); in TEST()
103 EXPECT_NEAR(50, average.GetAverage(), kError); in TEST()
113 EXPECT_NEAR(50, average.GetAverage(), kError); in TEST()
134 EXPECT_NEAR(50.2, average.GetAverage(), kError); in TEST()
143 EXPECT_NEAR(66.5, average.GetAverage(), kError); in TEST()
[all …]
Dsamples_stats_counter_unittest.cc64 EXPECT_NEAR(stats.GetAverage(), 50.5, 1e-6); in TEST()
79 EXPECT_DOUBLE_EQ(stats.GetAverage(), 2.0); in TEST()
140 EXPECT_DOUBLE_EQ(stats0.GetAverage(), 4.5); in TEST_P()
154 EXPECT_DOUBLE_EQ(stats.GetAverage(), 5.5); in TEST()
160 EXPECT_DOUBLE_EQ(multiplied_stats.GetAverage(), 55.0); in TEST()
167 EXPECT_DOUBLE_EQ(stats.GetAverage(), 5.5); in TEST()
176 EXPECT_DOUBLE_EQ(stats.GetAverage(), 5.5); in TEST()
182 EXPECT_DOUBLE_EQ(multiplied_stats.GetAverage(), 55.0); in TEST()
189 EXPECT_DOUBLE_EQ(stats.GetAverage(), 5.5); in TEST()
201 EXPECT_DOUBLE_EQ(stats.GetAverage(), 55.0); in TEST()
[all …]
Devent_based_exponential_moving_average.h39 double GetAverage() const { return value_; } in GetAverage() function
Dsamples_stats_counter.h63 double GetAverage() const { in GetAverage() function
Dmoving_average_unittest.cc31 TEST(MovingAverageTest, GetAverage) { in TEST() argument
Dsample_stats.cc23 return GetAverage(); in Mean()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dspectral_features_unittest.cc40 rtc::ArrayView<float, kNumLowerBands> GetAverage( in GetAverage() function
90 GetAverage(&feature_vector), GetFirstDerivative(&feature_vector), in TEST()
103 GetAverage(&feature_vector), GetFirstDerivative(&feature_vector), in TEST()
130 GetAverage(&feature_vector), GetFirstDerivative(&feature_vector), in TEST()
140 GetAverage(&feature_vector_last), in TEST()
/external/webrtc/common_audio/
Dsmoothing_filter_unittest.cc46 auto output = states->smoothing_filter.GetAverage(); in CheckOutput()
56 EXPECT_FALSE(states.smoothing_filter.GetAverage()); in TEST()
133 EXPECT_FALSE(states.smoothing_filter.GetAverage()); in TEST()
136 EXPECT_EQ(kFirstSample, states.smoothing_filter.GetAverage()); in TEST()
Dsmoothing_filter.h25 virtual absl::optional<float> GetAverage() = 0;
48 absl::optional<float> GetAverage() override;
Dsmoothing_filter.cc58 absl::optional<float> SmoothingFilterImpl::GetAverage() { in GetAverage() function in webrtc::SmoothingFilterImpl
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dfec_controller_plr_based.cc26 absl::optional<float> GetAverage() override { return last_sample_; } in GetAverage() function in webrtc::__anon724a448e0111::NullSmoothingFilter
81 const auto& packet_loss = packet_loss_smoother_->GetAverage(); in MakeDecision()
Dfec_controller_plr_based_unittest.cc98 EXPECT_CALL(*states->packet_loss_smoother, GetAverage()) in UpdateNetworkMetrics()
175 EXPECT_CALL(*states.packet_loss_smoother, GetAverage()) in TEST()
/external/webrtc/common_audio/mocks/
Dmock_smoothing_filter.h22 MOCK_METHOD(absl::optional<float>, GetAverage, (), (override));
/external/tensorflow/tensorflow/core/util/
Dutil.h39 double GetAverage() const;
Dutil.cc61 double MovingAverage::GetAverage() const { in GetAverage() function in tensorflow::MovingAverage
/external/webrtc/test/testsupport/
Dperf_test.cc93 value_stream << R"("mean":)" << counter.counter.GetAverage() << ','; in Print()
269 double mean = counter.IsEmpty() ? 0 : counter.GetAverage(); in PrintResult()
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc321 float GetAverage() const { in GetAverage() function in webrtc::AudioEncoderOpusImpl::PacketLossFractionSmoother
480 float average_fraction_loss = packet_loss_fraction_smoother_->GetAverage(); in OnReceivedUplinkPacketLossFraction()
789 absl::optional<float> smoothed_bitrate = bitrate_smoother_->GetAverage(); in MaybeUpdateUplinkBandwidth()
Daudio_encoder_opus_unittest.cc535 EXPECT_CALL(*states->mock_bitrate_smoother, GetAverage()) in TEST_P()
550 EXPECT_CALL(*states->mock_bitrate_smoother, GetAverage()) in TEST_P()
/external/webrtc/test/pc/e2e/analyzer/audio/
Ddefault_audio_quality_analyzer.cc153 counter.IsEmpty() ? 0 : counter.GetAverage(), in ReportResult()
/external/webrtc/p2p/base/
Dport_unittest.cc3619 EXPECT_TRUE(std::isnan(lconn->GetRttEstimate().GetAverage())); in TEST_F()
3627 EXPECT_EQ(lconn->GetRttEstimate().GetAverage(), 10); in TEST_F()
3635 EXPECT_NEAR(lconn->GetRttEstimate().GetAverage(), 10, 0.5); in TEST_F()
3643 EXPECT_TRUE(std::isnan(lconn->GetRttEstimate().GetAverage())); in TEST_F()
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer.cc738 stats->time_between_rendered_frames_ms.GetAverage(); in ProcessComparison()