ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
Processing time control. More...
#include <Meter.hpp>
Public Member Functions | |
Meter (const std::string &name) | |
~Meter () | |
void | setControlPoint (void) |
void | reset (void) |
Millisecond | process (void) |
const Meter & | operator= (const Meter &meter) |
double | getAccumulatorValue (const Operation::Type &operation) const |
std::string | asString (const int &numberOfDecimals=2) const |
anna::xml::Node * | asXML (anna::xml::Node *parent, const int &numberOfDecimals=2) const |
Processing time control.
Accumulated data information for statistic sample oriented to processing time. It manage a single concept, with integer nature sample and unit 'milliseconds'.
anna::statistics::Meter::Meter | ( | const std::string & | name | ) |
Constructor.
anna::statistics::Meter::~Meter | ( | ) |
Destructor.
std::string anna::statistics::Meter::asString | ( | const int & | numberOfDecimals = 2 | ) | const |
Class string representation
numberOfDecimals | Number of float decimals at representation string. Default is 2. |
anna::xml::Node* anna::statistics::Meter::asXML | ( | anna::xml::Node * | parent, |
const int & | numberOfDecimals = 2 |
||
) | const |
Class XML representation
numberOfDecimals | Number of float decimals at XML representation. Default is 2. |
|
inline |
Gets accumulator information in order to extract statistics indicators Gets accumulator value information (statistics indicators)
operation | Solicited operation |
|
inline |
|
inline |
Reset sample
|
inline |
Sets the time control point for processing measure