Searched refs:min_required_samples (Results 1 – 6 of 6) sorted by relevance
50 absl::optional<int> SampleCounter::Avg(int64_t min_required_samples) const { in Avg()51 RTC_DCHECK_GT(min_required_samples, 0); in Avg()52 if (num_samples_ < min_required_samples) in Avg()61 absl::optional<int64_t> SampleCounter::Sum(int64_t min_required_samples) const { in Sum()62 RTC_DCHECK_GT(min_required_samples, 0); in Sum()63 if (num_samples_ < min_required_samples) in Sum()80 int64_t min_required_samples) const { in Variance()81 RTC_DCHECK_GT(min_required_samples, 0); in Variance()82 if (num_samples_ < min_required_samples) in Variance()
27 absl::optional<int> Avg(int64_t min_required_samples) const;29 absl::optional<int64_t> Sum(int64_t min_required_samples) const;47 absl::optional<int64_t> Variance(int64_t min_required_samples) const;
96 int min_required_samples) const { in FractionHigh()97 RTC_DCHECK_GT(min_required_samples, 0); in FractionHigh()98 if (num_certain_states_ < min_required_samples) in FractionHigh()
142 int Avg(int64_t min_required_samples) const;154 int Percent(int64_t min_required_samples) const;155 int Permille(int64_t min_required_samples) const;158 int Fraction(int64_t min_required_samples, float multiplier) const;
33 absl::optional<double> FractionHigh(int min_required_samples) const;
1412 int64_t min_required_samples) const { in Avg()1413 if (num_samples < min_required_samples || num_samples == 0) in Avg()1430 int64_t min_required_samples) const { in Percent()1431 return Fraction(min_required_samples, 100.0f); in Percent()1435 int64_t min_required_samples) const { in Permille()1436 return Fraction(min_required_samples, 1000.0f); in Permille()1440 int64_t min_required_samples, in Fraction() argument1442 if (num_samples < min_required_samples || num_samples == 0) in Fraction()