Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::analytics::Benchmark::VariableAccumulator Class Reference

This class aids in accumulation of a benchmarked AccumulatedVariable. More...

#include "benchmark.h"

Public Member Functions

 VariableAccumulator (const Descriptor &descriptor)
 Benchmark::VariableAccumulator functions. More...
 
void AddSample (double value)
 Adds one sample of the Variable's value. More...
 
const AccumulatedVariable Get ()
 Returns the resulting Variable. More...
 

Detailed Description

This class aids in accumulation of a benchmarked AccumulatedVariable.

Definition at line 122 of file benchmark.h.

Constructor & Destructor Documentation

ion::analytics::Benchmark::VariableAccumulator::VariableAccumulator ( const Descriptor descriptor)
explicit

Benchmark::VariableAccumulator functions.

Definition at line 59 of file benchmark.cc.

Member Function Documentation

void ion::analytics::Benchmark::VariableAccumulator::AddSample ( double  value)

Adds one sample of the Variable's value.

Definition at line 68 of file benchmark.cc.

Referenced by ion::analytics::Benchmark::AccumulateSampledVariable().

const Benchmark::AccumulatedVariable ion::analytics::Benchmark::VariableAccumulator::Get ( )

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