Manak
2.0.0
|
Stores the timing information of any run. More...
Public Member Functions | |
PMeasure () | |
Create empty object For STL library use. More... | |
PMeasure (double min, double max, double avg) | |
Generate PMeasure object with given time information. More... | |
int | Compare (const double value, const double tolerance) |
Compare the average with given value taking into consideration the tolerance. More... | |
Public Attributes | |
double | avg |
Average time. More... | |
double | max |
Maximum time. More... | |
double | min |
Minimum time. More... | |
Stores the timing information of any run.
Definition at line 19 of file pmeasure.hpp.
|
inline |
Create empty object For STL library use.
Definition at line 25 of file pmeasure.hpp.
|
inline |
Generate PMeasure object with given time information.
min | Minimum time observed |
max | Maximum time observed |
avg | Average Time |
Definition at line 35 of file pmeasure.hpp.
|
inline |
Compare the average with given value taking into consideration the tolerance.
Definition at line 39 of file pmeasure.hpp.
References avg.
double manak::PMeasure::avg |
Average time.
Definition at line 53 of file pmeasure.hpp.
Referenced by Compare(), and manak::operator<<().
double manak::PMeasure::max |
Maximum time.
Definition at line 51 of file pmeasure.hpp.
double manak::PMeasure::min |
Minimum time.
Definition at line 49 of file pmeasure.hpp.