Home
last modified time | relevance | path

Searched refs:StatsSample (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/rtc_base/numerics/
Dsamples_stats_counter.cc30 AddSample(StatsSample{value, Timestamp::Micros(rtc::TimeMicros())}); in AddSample()
33 void SamplesStatsCounter::AddSample(StatsSample sample) { in AddSample()
50 absl::c_sort(samples_, [](const StatsSample& a, const StatsSample& b) { in GetPercentile()
81 SamplesStatsCounter::StatsSample{sample.value * value, sample.time}); in operator *()
91 SamplesStatsCounter::StatsSample{sample.value / value, sample.time}); in operator /()
Dsamples_stats_counter.h27 struct StatsSample { struct
41 void AddSample(StatsSample sample); argument
90 rtc::ArrayView<const StatsSample> GetTimedSamples() const { return samples_; } in GetTimedSamples()
102 std::vector<StatsSample> samples_;
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer_test.cc30 using StatsSample = ::webrtc::SamplesStatsCounter::StatsSample; typedef
79 std::vector<StatsSample> GetSortedSamples(const SamplesStatsCounter& counter) { in GetSortedSamples()
80 rtc::ArrayView<const StatsSample> view = counter.GetTimedSamples(); in GetSortedSamples()
81 std::vector<StatsSample> out(view.begin(), view.end()); in GetSortedSamples()
83 [](const StatsSample& a, const StatsSample& b) { in GetSortedSamples()
89 std::string ToString(const std::vector<StatsSample>& values) { in ToString()
325 std::vector<StatsSample> frames_in_flight_sizes = in TEST()
Dvideo_quality_metrics_reporter.h49 struct StatsSample { struct
79 std::map<std::string, StatsSample> last_stats_sample_
Dvideo_quality_metrics_reporter.cc48 StatsSample sample; in OnStatsReports()
75 StatsSample prev_sample = last_stats_sample_[std::string(pc_label)]; in OnStatsReports()
Ddefault_video_quality_analyzer.cc796 for (const SamplesStatsCounter::StatsSample& sample : in ReportResults()
/external/webrtc/test/pc/e2e/analyzer/audio/
Ddefault_audio_quality_analyzer.h50 struct StatsSample { struct
73 std::map<std::string, StatsSample> last_stats_sample_ RTC_GUARDED_BY(lock_); argument
Ddefault_audio_quality_analyzer.cc40 StatsSample sample; in OnStatsReports()
61 StatsSample prev_sample = last_stats_sample_[stream_label]; in OnStatsReports()