Searched refs:ThreadSafeHistogram (Results 1 – 5 of 5) sorted by relevance
232 bool ThreadSafeHistogram::DecodeFromProto(const HistogramProto& proto) { in DecodeFromProto()237 void ThreadSafeHistogram::Clear() { in Clear()242 void ThreadSafeHistogram::Add(double value) { in Add()247 void ThreadSafeHistogram::EncodeToProto(HistogramProto* proto, in EncodeToProto()253 double ThreadSafeHistogram::Median() const { in Median()258 double ThreadSafeHistogram::Percentile(double p) const { in Percentile()263 double ThreadSafeHistogram::Average() const { in Average()268 double ThreadSafeHistogram::StandardDeviation() const { in StandardDeviation()273 std::string ThreadSafeHistogram::ToString() const { in ToString()
109 class ThreadSafeHistogram {111 ThreadSafeHistogram() {} in ThreadSafeHistogram() function112 explicit ThreadSafeHistogram(gtl::ArraySlice<double> custom_bucket_limits) in ThreadSafeHistogram() function116 ~ThreadSafeHistogram() {} in ~ThreadSafeHistogram()
115 TEST(ThreadSafeHistogram, Basic) { in TEST() argument123 ThreadSafeHistogram tsh; in TEST()138 ThreadSafeHistogram tsh2; in TEST()
63 histogram::ThreadSafeHistogram histogram_;
125 histogram::ThreadSafeHistogram histogram;