Public Types | Public Member Functions | Static Public Member Functions | List of all members
cartographer::metrics::Histogram Class Referenceabstract

#include <histogram.h>

Public Types

using BucketBoundaries = std::vector< double >
 

Public Member Functions

virtual void Observe (double value)=0
 
virtual ~Histogram ()=default
 

Static Public Member Functions

static BucketBoundaries FixedWidth (double width, int num_finite_buckets)
 
static HistogramNull ()
 
static BucketBoundaries ScaledPowersOf (double base, double scale_factor, double max_value)
 

Detailed Description

Definition at line 26 of file metrics/histogram.h.

Member Typedef Documentation

◆ BucketBoundaries

Definition at line 28 of file metrics/histogram.h.

Constructor & Destructor Documentation

◆ ~Histogram()

virtual cartographer::metrics::Histogram::~Histogram ( )
virtualdefault

Member Function Documentation

◆ FixedWidth()

Histogram::BucketBoundaries cartographer::metrics::Histogram::FixedWidth ( double  width,
int  num_finite_buckets 
)
static

Definition at line 39 of file metrics/histogram.cc.

◆ Null()

Histogram * cartographer::metrics::Histogram::Null ( )
static

Definition at line 34 of file metrics/histogram.cc.

◆ Observe()

virtual void cartographer::metrics::Histogram::Observe ( double  value)
pure virtual

◆ ScaledPowersOf()

Histogram::BucketBoundaries cartographer::metrics::Histogram::ScaledPowersOf ( double  base,
double  scale_factor,
double  max_value 
)
static

Definition at line 50 of file metrics/histogram.cc.


The documentation for this class was generated from the following files:


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59