OpenVPN 3 Core Library
Loading...
Searching...
No Matches
Mean Class Reference

Public Member Functions

void add (const int value)
 
int mean () const
 
void check_mean_range (const std::string &title, const int low, const int hi) const
 
int count () const
 
std::string to_string () const
 

Private Attributes

int count_ = 0
 
int sum_ = 0
 

Detailed Description

Definition at line 20 of file test_time.cpp.

Member Function Documentation

◆ add()

void Mean::add ( const int  value)
inline

Definition at line 23 of file test_time.cpp.

Here is the caller graph for this function:

◆ check_mean_range()

void Mean::check_mean_range ( const std::string &  title,
const int  low,
const int  hi 
) const
inline

Definition at line 34 of file test_time.cpp.

Here is the caller graph for this function:

◆ count()

int Mean::count ( ) const
inline

Definition at line 40 of file test_time.cpp.

Here is the caller graph for this function:

◆ mean()

int Mean::mean ( ) const
inline

Definition at line 29 of file test_time.cpp.

Here is the caller graph for this function:

◆ to_string()

std::string Mean::to_string ( ) const
inline

Definition at line 45 of file test_time.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ count_

int Mean::count_ = 0
private

Definition at line 51 of file test_time.cpp.

◆ sum_

int Mean::sum_ = 0
private

Definition at line 52 of file test_time.cpp.


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