Lines Matching defs:Histogram
25 #include "histogram.h"
33 template <class Value> inline void Histogram<Value>::AddValue(Value value) {
43 template <class Value> inline void Histogram<Value>::AdjustAndAddValue(Value value) {
47 template <class Value> inline Histogram<Value>::Histogram(const char* name)
55 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width,
66 inline void Histogram<Value>::GrowBuckets(Value new_max) {
88 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const {
89 // Since this is only a linear histogram, bucket index can be found simply with
100 inline void Histogram<Value>::BucketiseValue(Value val) {
110 template <class Value> inline void Histogram<Value>::Initialize() {
118 template <class Value> inline size_t Histogram<Value>::GetBucketCount() const {
122 template <class Value> inline void Histogram<Value>::Reset() {
133 template <class Value> inline Value Histogram<Value>::GetRange(size_t bucket_idx) const {
138 template <class Value> inline double Histogram<Value>::Mean() const {
143 template <class Value> inline double Histogram<Value>::Variance() const {
157 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const {
170 inline void Histogram<Value>::DumpBins(std::ostream& os) const {
187 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval,
204 inline void Histogram<Value>::PrintMemoryUse(std::ostream &os) const {
211 inline void Histogram<Value>::CreateHistogram(CumulativeData* out_data) const {
233 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) const {