Represents a single stat with a name and a description.
More...
#include <stats.hh>
|
| StatsScalar (bool reg=true) |
|
void | init (const std::string &name, const std::string &desc, bool is_time=false, time_unit unit=time_unit::any_unit) |
|
StatsScalar & | operator+= (const auto rhs) |
|
double | avg () const override |
| Get the average value per operation.
|
|
std::string | str () const override |
| Get the string representation of the stat.
|
|
std::string | latex (const std::string &prefix="") const override |
|
| StatsScalar (bool reg=true) |
|
void | init (const std::string &name, const std::string &desc, bool is_time=false, time_unit unit=time_unit::any_unit) |
|
StatsScalar & | operator+= (const auto rhs) |
|
double | avg () const override |
| Get the average value per operation.
|
|
std::string | str () const override |
| Get the string representation of the stat.
|
|
std::string | latex (const std::string &prefix="") const override |
|
| StatsBase (bool reg) |
|
void | init (const std::string &name, const std::string &desc) |
|
| StatsBase (bool reg) |
|
void | init (const std::string &name, const std::string &desc) |
|
|
double | total |
|
size_t | count |
|
bool | is_time |
|
time_unit | unit |
|
|
std::string | stat_name |
|
std::string | stat_desc |
|
Represents a single stat with a name and a description.
Definition at line 229 of file stats.hh.
The documentation for this class was generated from the following file: