Home
last modified time | relevance | path

Searched refs:AddSample (Results 1 – 25 of 45) sorted by relevance

12

/external/webrtc/rtc_base/numerics/
Devent_based_exponential_moving_average_unittest.cc40 average.AddSample(time, value); in TEST()
52 average.AddSample(time, value); in TEST()
53 average.AddSample(time + kHalfTime, 0); in TEST()
64 average.AddSample(time, value); in TEST()
65 average.AddSample(time + kHalfTime, value); in TEST()
76 average.AddSample(time + 0 * kHalfTime, value - 10); in TEST()
77 average.AddSample(time + 1 * kHalfTime, value + 10); in TEST()
78 average.AddSample(time + 2 * kHalfTime, value - 15); in TEST()
79 average.AddSample(time + 3 * kHalfTime, value + 15); in TEST()
84 average.AddSample(time + 4 * kHalfTime, value); in TEST()
[all …]
Dmoving_average_unittest.cc26 moving_average.AddSample(3); in TEST()
33 moving_average.AddSample(1); in TEST()
34 moving_average.AddSample(1); in TEST()
35 moving_average.AddSample(3); in TEST()
36 moving_average.AddSample(3); in TEST()
43 moving_average.AddSample(1); in TEST()
44 moving_average.AddSample(2); in TEST()
45 moving_average.AddSample(2); in TEST()
46 moving_average.AddSample(2); in TEST()
52 moving_average.AddSample(1); in TEST()
[all …]
Drunning_statistics_unittest.cc35 stats.AddSample(v); in CreateStatsFilledWithIntsFrom1ToN()
49 stats.AddSample(dis(gen)); in CreateStatsFromUniformDistribution()
71 stats.AddSample(2); in TEST()
72 stats.AddSample(2); in TEST()
73 stats.AddSample(-1); in TEST()
74 stats.AddSample(5); in TEST()
85 stats.AddSample(2); in TEST()
86 stats.AddSample(2); in TEST()
87 stats.AddSample(-1); in TEST()
88 stats.AddSample(5); in TEST()
[all …]
Dsamples_stats_counter.cc29 void SamplesStatsCounter::AddSample(double value) { in AddSample() function in webrtc::SamplesStatsCounter
30 AddSample(StatsSample{value, Timestamp::Micros(rtc::TimeMicros())}); in AddSample()
33 void SamplesStatsCounter::AddSample(StatsSample sample) { in AddSample() function in webrtc::SamplesStatsCounter
34 stats_.AddSample(sample.value); in AddSample()
80 out.AddSample( in operator *()
90 out.AddSample( in operator /()
Dsamples_stats_counter_unittest.cc33 stats.AddSample(v); in CreateStatsFilledWithIntsFrom1ToN()
47 stats.AddSample(dis(gen)); in CreateStatsFromUniformDistribution()
74 stats.AddSample(2); in TEST()
75 stats.AddSample(2); in TEST()
76 stats.AddSample(-1); in TEST()
77 stats.AddSample(5); in TEST()
131 stats0.AddSample(data[i]); in TEST_P()
134 stats1.AddSample(data[i]); in TEST_P()
195 stats.AddSample(i * 10); in TEST()
Dsample_stats.cc56 void SampleStats<TimeDelta>::AddSample(TimeDelta delta) { in AddSample() function in webrtc::SampleStats
58 stats_.AddSample(delta.seconds<double>()); in AddSample()
62 AddSample(TimeDelta::Millis(delta_ms)); in AddSampleMs()
104 void SampleStats<DataRate>::AddSample(DataRate sample) { in AddSample() function in webrtc::SampleStats
105 stats_.AddSample(sample.bps<double>()); in AddSample()
109 stats_.AddSample(rate_bps); in AddSampleBps()
Dsample_stats.h39 void AddSample(TimeDelta delta);
59 void AddSample(DataRate rate);
Dsamples_stats_counter.h40 void AddSample(double value);
41 void AddSample(StatsSample sample);
/external/webrtc/test/scenario/
Dstats_collection.cc88 stats_.psnr_with_freeze.AddSample(psnr); in HandleFramePair()
93 stats_.psnr.AddSample(psnr); in HandleFramePair()
114 stats_.capture_to_decoded_delay.AddSample(sample.decoded_time - in HandleRenderedFrame()
116 stats_.end_to_end_delay.AddSample(sample.render_time - sample.capture_time); in HandleRenderedFrame()
118 stats_.skipped_between_rendered.AddSample(skip_count_); in HandleRenderedFrame()
127 stats_.freeze_duration.AddSample(render_interval); in HandleRenderedFrame()
128 stats_.time_between_freezes.AddSample(last_render_time_ - in HandleRenderedFrame()
140 stats_.pacer_delay.AddSample(TimeDelta::Millis(sample.pacer_delay_ms)); in AddStats()
142 stats_.round_trip_time.AddSample(TimeDelta::Millis(sample.rtt_ms)); in AddStats()
143 stats_.memory_usage.AddSample(rtc::GetProcessResidentSizeBytes()); in AddStats()
[all …]
Dperformance_stats.cc20 pixels.AddSample(frame.width() * frame.height()); in AddFrameInfo()
21 resolution.AddSample(std::max(frame.width(), frame.height())); in AddFrameInfo()
/external/grpc-grpc/test/core/transport/
Dbdp_estimator_test.cc75 void AddSample(BdpEstimator* estimator, int64_t sample) { in AddSample() function
82 AddSample(&est, 100); in TEST()
88 AddSample(&est, 100); in TEST()
89 AddSample(&est, 100); in TEST()
95 AddSample(&est, 100); in TEST()
96 AddSample(&est, 100); in TEST()
97 AddSample(&est, 100); in TEST()
126 AddSample(&est, sample); in TEST_P()
/external/webrtc/rtc_base/
Drolling_accumulator_unittest.cc32 stats.AddSample(dis(gen)); in FillStatsFromUniformDistribution()
50 accum.AddSample(i); in TEST()
64 accum.AddSample(i); in TEST()
79 accum.AddSample(100); in TEST()
90 accum.AddSample(i); in TEST()
102 accum.AddSample(5 * i); in TEST()
120 accum.AddSample(i); in TEST()
Drolling_accumulator.h51 void AddSample(T sample) { in AddSample() function
73 stats_.AddSample(sample); in AddSample()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_stats_impl.cc226 buffer_level_sec.AddSample(buffer_level_bits / in SliceAndCalcVideoStatistic()
235 key_frame_size_bytes.AddSample(frame_stat.length_bytes); in SliceAndCalcVideoStatistic()
238 delta_frame_size_bytes.AddSample(frame_stat.length_bytes); in SliceAndCalcVideoStatistic()
241 frame_encoding_time_us.AddSample(frame_stat.encode_time_us); in SliceAndCalcVideoStatistic()
242 qp.AddSample(frame_stat.qp); in SliceAndCalcVideoStatistic()
255 psnr_y.AddSample(frame_stat.psnr_y); in SliceAndCalcVideoStatistic()
256 psnr_u.AddSample(frame_stat.psnr_u); in SliceAndCalcVideoStatistic()
257 psnr_v.AddSample(frame_stat.psnr_v); in SliceAndCalcVideoStatistic()
258 psnr.AddSample(frame_stat.psnr); in SliceAndCalcVideoStatistic()
259 ssim.AddSample(frame_stat.ssim); in SliceAndCalcVideoStatistic()
[all …]
/external/webrtc/common_audio/
Dsmoothing_filter_unittest.cc44 states->smoothing_filter.AddSample(sample); in CheckOutput()
135 states.smoothing_filter.AddSample(kFirstSample); in TEST()
142 states.smoothing_filter.AddSample(0.0); in TEST()
146 states.smoothing_filter.AddSample(0.0); in TEST()
153 states.smoothing_filter.AddSample(0.0); in TEST()
Dsmoothing_filter.h24 virtual void AddSample(float sample) = 0;
47 void AddSample(float sample) override;
/external/webrtc/video/
Dvideo_analyzer.cc462 send_bandwidth_bps_.AddSample(call_stats.send_bandwidth_bps); in PollStats()
468 encode_frame_rate_.AddSample(send_stats.encode_frame_rate); in PollStats()
470 encode_time_ms_.AddSample(send_stats.avg_encode_time_ms); in PollStats()
472 encode_usage_percent_.AddSample(send_stats.encode_usage_percent); in PollStats()
474 media_bitrate_bps_.AddSample(send_stats.media_bitrate_bps); in PollStats()
480 fec_bitrate_bps_.AddSample((fec_bytes - last_fec_bytes_) * 8); in PollStats()
492 decode_time_ms_.AddSample(receive_stats.decode_ms); in PollStats()
494 decode_time_max_ms_.AddSample(receive_stats.max_decode_ms); in PollStats()
496 pixels_.AddSample(receive_stats.width * receive_stats.height); in PollStats()
520 audio_expand_rate_.AddSample(receive_stats.expand_rate); in PollStats()
[all …]
/external/webrtc/test/pc/e2e/analyzer/audio/
Ddefault_audio_quality_analyzer.cc71 audio_stream_stats.expand_rate.AddSample( in OnStatsReports()
74 audio_stream_stats.accelerate_rate.AddSample( in OnStatsReports()
78 audio_stream_stats.preemptive_rate.AddSample( in OnStatsReports()
87 audio_stream_stats.speech_expand_rate.AddSample( in OnStatsReports()
100 audio_stream_stats.average_jitter_buffer_delay_ms.AddSample( in OnStatsReports()
103 audio_stream_stats.preferred_buffer_size_ms.AddSample( in OnStatsReports()
/external/webrtc/test/testsupport/
Dperf_test_histogram_writer.cc49 AddSample(graph_name, trace_name, value, units, improve_direction); in LogResult()
62 AddSample(graph_name, trace_name, mean, units, improve_direction); in LogResultMeanAndError()
72 AddSample(graph_name, trace_name, value, units, improve_direction); in LogResultList()
91 void AddSample(const std::string& original_graph_name, in AddSample() function in webrtc::test::__anon67ea60920111::PerfTestHistogramWriter
131 histograms_[measurement_and_story]->AddSample(value / 8); in AddSample()
133 histograms_[measurement_and_story]->AddSample(value); in AddSample()
/external/webrtc/test/pc/e2e/
Dcross_media_metrics_reporter.cc86 stats_info_[sync_group].audio_ahead_ms.AddSample( in OnStatsReports()
88 stats_info_[sync_group].video_ahead_ms.AddSample(0); in OnStatsReports()
90 stats_info_[sync_group].audio_ahead_ms.AddSample(0); in OnStatsReports()
91 stats_info_[sync_group].video_ahead_ms.AddSample( in OnStatsReports()
/external/webrtc/modules/video_coding/utility/
Dquality_scaler.cc311 framedrop_percent_media_opt_.AddSample(100); in ReportDroppedFrameByMediaOpt()
312 framedrop_percent_all_.AddSample(100); in ReportDroppedFrameByMediaOpt()
317 framedrop_percent_all_.AddSample(100); in ReportDroppedFrameByEncoder()
322 framedrop_percent_media_opt_.AddSample(0); in ReportQp()
323 framedrop_percent_all_.AddSample(0); in ReportQp()
324 average_qp_.AddSample(qp); in ReportQp()
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer.cc240 analyzer_stats_.frames_in_flight_left_count.AddSample( in OnFrameCaptured()
447 analyzer_stats_.frames_in_flight_left_count.AddSample( in OnFrameRendered()
468 stream_stats_[stats_key].skipped_between_rendered.AddSample(dropped_count); in OnFrameRendered()
473 analyzer_stats_.frames_in_flight_left_count.AddSample( in OnFrameRendered()
539 stream_stats_[stats_key].time_between_freezes_ms.AddSample( in Stop()
545 analyzer_stats_.frames_in_flight_left_count.AddSample( in Stop()
616 analyzer_stats_.comparisons_queue_size.AddSample(comparisons_.size()); in AddComparison()
700 stats->psnr.AddSample(psnr); in ProcessComparison()
703 stats->ssim.AddSample(ssim); in ProcessComparison()
706 stats->encode_time_ms.AddSample( in ProcessComparison()
[all …]
Dvideo_quality_metrics_reporter.cc69 video_bwe_stats.available_send_bandwidth.AddSample( in OnStatsReports()
89 video_bwe_stats.retransmission_bitrate.AddSample( in OnStatsReports()
95 video_bwe_stats.transmission_bitrate.AddSample( in OnStatsReports()
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dfec_controller_plr_based.cc24 void AddSample(float sample) override { last_sample_ = sample; } in AddSample() function in webrtc::__anon724a448e0111::NullSmoothingFilter
72 packet_loss_smoother_->AddSample( in UpdateNetworkMetrics()
/external/webrtc/common_audio/mocks/
Dmock_smoothing_filter.h21 MOCK_METHOD(void, AddSample, (float), (override));

12