join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
Accumulator Struct Reference

accumulator used to test timers calling a method. More...

Public Member Functions

void add (int value)
 add a value to the total.
 

Public Attributes

std::atomic< int > total {0}
 accumulated total.
 

Detailed Description

accumulator used to test timers calling a method.

Member Function Documentation

◆ add()

void Accumulator::add ( int value)
inline

add a value to the total.

Parameters
valuevalue to add.

Member Data Documentation

◆ total

std::atomic<int> Accumulator::total {0}

accumulated total.


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