Searched refs:StatsSample (Results 1 – 8 of 8) sorted by relevance
30 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 /()
27 struct StatsSample { struct41 void AddSample(StatsSample sample); argument90 rtc::ArrayView<const StatsSample> GetTimedSamples() const { return samples_; } in GetTimedSamples()102 std::vector<StatsSample> samples_;
30 using StatsSample = ::webrtc::SamplesStatsCounter::StatsSample; typedef79 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()
49 struct StatsSample { struct79 std::map<std::string, StatsSample> last_stats_sample_
48 StatsSample sample; in OnStatsReports()75 StatsSample prev_sample = last_stats_sample_[std::string(pc_label)]; in OnStatsReports()
796 for (const SamplesStatsCounter::StatsSample& sample : in ReportResults()
50 struct StatsSample { struct73 std::map<std::string, StatsSample> last_stats_sample_ RTC_GUARDED_BY(lock_); argument
40 StatsSample sample; in OnStatsReports()61 StatsSample prev_sample = last_stats_sample_[stream_label]; in OnStatsReports()