0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
Hypertable::TestStat Class Reference

Accumulates min, max, mean and stdev of the test results; based on the Welford method for numerical stability (see http://www.johndcook.com/standard_deviation.html) More...

#include <TestUtils.h>

Public Member Functions

 TestStat ()
 
void operator() (double x)
 
void add (double x)
 
double min () const
 
double max () const
 
double mean () const
 
double stdev () const
 

Private Attributes

std::mutex m_mutex
 
double m_minv
 
double m_maxv
 
size_t m_i
 
double m_a0
 
double m_a1
 
double m_q0
 
double m_q1
 

Detailed Description

Accumulates min, max, mean and stdev of the test results; based on the Welford method for numerical stability (see http://www.johndcook.com/standard_deviation.html)

Definition at line 73 of file TestUtils.h.


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