#include <string_view>
#include "base/metrics/histogram.h"
#include "base/metrics/sparse_histogram.h"
namespace webrtc {
namespace metrics {
class Histogram;
Histogram* HistogramFactoryGetCounts(std::string_view name,
int min,
int max,
int bucket_count) { … }
Histogram* HistogramFactoryGetCountsLinear(std::string_view name,
int min,
int max,
int bucket_count) { … }
Histogram* HistogramFactoryGetEnumeration(std::string_view name, int boundary) { … }
Histogram* SparseHistogramFactoryGetEnumeration(std::string_view name,
int boundary) { … }
const char* GetHistogramName(Histogram* histogram_pointer) { … }
void HistogramAdd(Histogram* histogram_pointer, int sample) { … }
}
}