KrisLibrary
1.0.0
|
A heirarchical database of statistical data (counts and StatCollectors). Useful for performance testing. More...
#include <StatCollector.h>
Classes | |
struct | Data |
Public Member Functions | |
void | Clear () |
void | Increment (const std::string &name, int inc=1) |
void | AddValue (const std::string &name, double val) |
int | GetCount (const std::string &name) const |
const StatCollector & | GetValue (const std::string &name) const |
Data & | AddData (const std::string &name) |
const Data * | GetData (const std::string &name) const |
bool | Load (std::istream &in) |
bool | Save (std::ostream &out) const |
void | Print (std::ostream &out) const |
void | Increment (const std::string &name, const std::string &child, int inc=1) |
void | Increment (const std::string &name, const std::string &child1, const std::string &child2, int inc=1) |
void | Increment (const std::string &n, const std::string &c1, const std::string &c2, const std::string &c3, int inc=1) |
void | AddValue (const std::string &name, const std::string &child, double val) |
void | AddValue (const std::string &name, const std::string &child1, const std::string &child2, double val) |
void | AddValue (const std::string &n, const std::string &c1, const std::string &c2, const std::string &c3, double val) |
void | NameToPath (const std::string &name, std::vector< std::string > &path) const |
std::string | Concat (const std::string &s1, const std::string &s2) const |
std::string | Concat (const std::string &s1, const std::string &s2, const std::string &s3) const |
std::string | Concat (const std::string &s1, const std::string &s2, const std::string &s3, const std::string &s4) const |
std::string | Concat (const std::vector< std::string > &s) const |
Public Attributes | |
unsigned char | delim |
Data | root |
A heirarchical database of statistical data (counts and StatCollectors). Useful for performance testing.