/external/webrtc/rtc_base/numerics/ |
D | event_based_exponential_moving_average_unittest.cc | 40 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 …]
|
D | moving_average_unittest.cc | 26 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 …]
|
D | running_statistics_unittest.cc | 36 stats.AddSample(v); in CreateStatsFilledWithIntsFrom1ToN() 50 stats.AddSample(dis(gen)); in CreateStatsFromUniformDistribution() 70 stats.AddSample(2); in TEST() 71 stats.AddSample(2); in TEST() 72 stats.AddSample(-1); in TEST() 73 stats.AddSample(5); in TEST() 84 stats.AddSample(2); in TEST() 85 stats.AddSample(2); in TEST() 86 stats.AddSample(-1); in TEST() 87 stats.AddSample(5); in TEST() [all …]
|
D | sample_stats.cc | 56 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()
|
D | sample_stats.h | 39 void AddSample(TimeDelta delta); 59 void AddSample(DataRate rate);
|
/external/cronet/base/power_monitor/ |
D | moving_average_unittest.cc | 22 moving_average.AddSample(3); in TEST() 34 moving_average.AddSample(1); in TEST() 36 moving_average.AddSample(2); in TEST() 38 moving_average.AddSample(3); in TEST() 44 moving_average.AddSample(4); in TEST() 54 moving_average.AddSample(1); in TEST() 55 moving_average.AddSample(1); in TEST() 56 moving_average.AddSample(3); in TEST() 57 moving_average.AddSample(3); in TEST() 64 moving_average.AddSample(1); in TEST() [all …]
|
/external/webrtc/test/scenario/ |
D | stats_collection.cc | 87 stats_.psnr_with_freeze.AddSample(psnr); in HandleFramePair() 92 stats_.psnr.AddSample(psnr); in HandleFramePair() 113 stats_.capture_to_decoded_delay.AddSample(sample.decoded_time - in HandleRenderedFrame() 115 stats_.end_to_end_delay.AddSample(sample.render_time - sample.capture_time); in HandleRenderedFrame() 117 stats_.skipped_between_rendered.AddSample(skip_count_); in HandleRenderedFrame() 126 stats_.freeze_duration.AddSample(render_interval); in HandleRenderedFrame() 127 stats_.time_between_freezes.AddSample(last_render_time_ - in HandleRenderedFrame() 139 stats_.pacer_delay.AddSample(TimeDelta::Millis(sample.pacer_delay_ms)); in AddStats() 141 stats_.round_trip_time.AddSample(TimeDelta::Millis(sample.rtt_ms)); in AddStats() 142 stats_.memory_usage.AddSample(rtc::GetProcessResidentSizeBytes()); in AddStats() [all …]
|
D | performance_stats.cc | 20 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/ |
D | bdp_estimator_test.cc | 75 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/ |
D | rolling_accumulator_unittest.cc | 32 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()
|
/external/webrtc/api/numerics/ |
D | samples_stats_counter_unittest.cc | 33 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()
|
D | samples_stats_counter.cc | 34 void SamplesStatsCounter::AddSample(double value) { in AddSample() function in webrtc::SamplesStatsCounter 35 AddSample(StatsSample{value, Timestamp::Micros(rtc::TimeMicros())}); in AddSample() 38 void SamplesStatsCounter::AddSample(StatsSample sample) { in AddSample() function in webrtc::SamplesStatsCounter 39 stats_.AddSample(sample.value); in AddSample() 85 out.AddSample( in operator *() 95 out.AddSample( in operator /()
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | default_video_quality_analyzer_frames_comparator.cc | 233 stream_stats_.at(stats_key).time_between_freezes_ms.AddSample(StatsSample( in Stop() 309 stream_stats_.at(stats_key).skipped_between_rendered.AddSample( in AddComparison() 325 frames_comparator_stats_.comparisons_queue_size.AddSample( in AddComparisonInternal() 427 stats->psnr.AddSample( in ProcessComparison() 431 stats->ssim.AddSample( in ProcessComparison() 454 stats->encode_time_ms.AddSample( in ProcessComparison() 460 stats->target_encode_bitrate.AddSample(StatsSample( in ProcessComparison() 465 stats->qp.AddSample(std::move(qp)); in ProcessComparison() 477 stats->total_delay_incl_transport_ms.AddSample( in ProcessComparison() 480 stats->receive_to_render_time_ms.AddSample( in ProcessComparison() [all …]
|
D | video_quality_metrics_reporter.cc | 93 video_bwe_stats.available_send_bandwidth.AddSample( in OnStatsReports() 113 video_bwe_stats.retransmission_bitrate.AddSample( in OnStatsReports() 119 video_bwe_stats.transmission_bitrate.AddSample( in OnStatsReports()
|
/external/webrtc/video/ |
D | video_analyzer.cc | 481 send_bandwidth_bps_.AddSample(call_stats.send_bandwidth_bps); in PollStats() 487 encode_frame_rate_.AddSample(send_stats.encode_frame_rate); in PollStats() 489 encode_time_ms_.AddSample(send_stats.avg_encode_time_ms); in PollStats() 491 encode_usage_percent_.AddSample(send_stats.encode_usage_percent); in PollStats() 493 media_bitrate_bps_.AddSample(send_stats.media_bitrate_bps); in PollStats() 499 fec_bitrate_bps_.AddSample((fec_bytes - last_fec_bytes_) * 8); in PollStats() 511 decode_time_ms_.AddSample(receive_stats.decode_ms); in PollStats() 513 decode_time_max_ms_.AddSample(receive_stats.max_decode_ms); in PollStats() 515 pixels_.AddSample(receive_stats.width * receive_stats.height); in PollStats() 540 audio_expand_rate_.AddSample(receive_stats.expand_rate); in PollStats() [all …]
|
/external/webrtc/common_audio/ |
D | smoothing_filter_unittest.cc | 44 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()
|
D | smoothing_filter.h | 23 virtual void AddSample(float sample) = 0; 51 void AddSample(float sample) override;
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_stats_impl.cc | 227 buffer_level_sec.AddSample(buffer_level_bits / in SliceAndCalcVideoStatistic() 236 key_frame_size_bytes.AddSample(frame_stat.length_bytes); in SliceAndCalcVideoStatistic() 239 delta_frame_size_bytes.AddSample(frame_stat.length_bytes); in SliceAndCalcVideoStatistic() 242 frame_encoding_time_us.AddSample(frame_stat.encode_time_us); in SliceAndCalcVideoStatistic() 243 qp.AddSample(frame_stat.qp); in SliceAndCalcVideoStatistic() 265 frame_decoding_time_us.AddSample(frame_stat.decode_time_us); in SliceAndCalcVideoStatistic() 270 psnr_y.AddSample(frame_stat.psnr_y); in SliceAndCalcVideoStatistic() 271 psnr_u.AddSample(frame_stat.psnr_u); in SliceAndCalcVideoStatistic() 272 psnr_v.AddSample(frame_stat.psnr_v); in SliceAndCalcVideoStatistic() 273 psnr.AddSample(frame_stat.psnr); in SliceAndCalcVideoStatistic() [all …]
|
/external/webrtc/test/pc/e2e/analyzer/audio/ |
D | default_audio_quality_analyzer.cc | 83 audio_stream_stats.expand_rate.AddSample( in OnStatsReports() 86 audio_stream_stats.accelerate_rate.AddSample( in OnStatsReports() 90 audio_stream_stats.preemptive_rate.AddSample( in OnStatsReports() 99 audio_stream_stats.speech_expand_rate.AddSample( in OnStatsReports() 112 audio_stream_stats.average_jitter_buffer_delay_ms.AddSample( in OnStatsReports() 115 audio_stream_stats.preferred_buffer_size_ms.AddSample( in OnStatsReports()
|
/external/webrtc/test/testsupport/ |
D | perf_test_histogram_writer.cc | 52 AddSample(graph_name, trace_name, value, units, improve_direction); in LogResult() 65 AddSample(graph_name, trace_name, mean, units, improve_direction); in LogResultMeanAndError() 75 AddSample(graph_name, trace_name, value, units, improve_direction); in LogResultList() 94 void AddSample(absl::string_view original_graph_name, in AddSample() function in webrtc::test::__anoncf216eb00111::PerfTestHistogramWriter 135 histograms_[measurement_and_story.str()]->AddSample(value / 8); in AddSample() 137 histograms_[measurement_and_story.str()]->AddSample(value); in AddSample()
|
D | perf_test_unittest.cc | 145 counter.AddSample(1); in TEST_F() 146 counter.AddSample(2); in TEST_F() 147 counter.AddSample(3); in TEST_F() 148 counter.AddSample(4); in TEST_F() 149 counter.AddSample(5); in TEST_F()
|
/external/webrtc/modules/video_coding/utility/ |
D | quality_scaler.cc | 241 framedrop_percent_media_opt_.AddSample(100); in ReportDroppedFrameByMediaOpt() 242 framedrop_percent_all_.AddSample(100); in ReportDroppedFrameByMediaOpt() 247 framedrop_percent_all_.AddSample(100); in ReportDroppedFrameByEncoder() 252 framedrop_percent_media_opt_.AddSample(0); in ReportQp() 253 framedrop_percent_all_.AddSample(0); in ReportQp() 254 average_qp_.AddSample(qp); in ReportQp()
|
/external/webrtc/test/pc/e2e/ |
D | cross_media_metrics_reporter.cc | 102 stats_info_[sync_group].audio_ahead_ms.AddSample( in OnStatsReports() 104 stats_info_[sync_group].video_ahead_ms.AddSample(0); in OnStatsReports() 106 stats_info_[sync_group].audio_ahead_ms.AddSample(0); in OnStatsReports() 107 stats_info_[sync_group].video_ahead_ms.AddSample( in OnStatsReports()
|
/external/webrtc/api/test/metrics/ |
D | metrics_logger_test.cc | 67 values.AddSample(SamplesStatsCounter::StatsSample{ in TEST() 72 values.AddSample(SamplesStatsCounter::StatsSample{ in TEST() 170 values.AddSample(SamplesStatsCounter::StatsSample{ in TEST() 174 values.AddSample(SamplesStatsCounter::StatsSample{ in TEST() 217 values.AddSample(SamplesStatsCounter::StatsSample{ in TEST() 221 values.AddSample(SamplesStatsCounter::StatsSample{ in TEST() 250 logger.GetMetricsAccumulator()->AddSample( in TEST() 283 logger.GetMetricsAccumulator()->AddSample( in TEST()
|
/external/openthread/src/core/thread/ |
D | link_quality.hpp | 75 void AddSample(bool aSuccess, uint16_t aWeight = kDefaultWeight); 348 mFrameErrorRate.AddSample(aTxStatus, OPENTHREAD_CONFIG_FRAME_TX_ERR_RATE_AVERAGING_WINDOW); in AddFrameTxStatus() 362 mMessageErrorRate.AddSample(aTxStatus, OPENTHREAD_CONFIG_IPV6_TX_ERR_RATE_AVERAGING_WINDOW); in AddMessageTxStatus()
|