17#ifndef included_Retro_Rstats
18#define included_Retro_Rstats 1
34 void Define(
size_t ind,
const std::string& name,
35 const std::string& text);
37 void Set(
size_t ind,
double val);
38 void Inc(
size_t ind,
double val=1.);
43 size_t masklast,
size_t val);
45 void SetFormat(
const char* format,
int width=0,
int prec=0);
48 double Value(
size_t ind)
const;
49 const std::string&
Name(
size_t ind)
const;
50 const std::string&
Text(
size_t ind)
const;
53 void Print(std::ostream& os,
const char* format=0,
54 int width=0,
int prec=0)
const;
55 void Dump(std::ostream& os,
int ind=0,
const char* text=0,
std::vector< std::string > fText
counter text
std::vector< std::string > fName
counter name
void SetFormat(const char *format, int width=0, int prec=0)
FIXME_docs.
size_t Size() const
FIXME_docs.
void IncLogHist(size_t ind, size_t maskfirst, size_t masklast, size_t val)
FIXME_docs.
void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
int fPrec
default precision for Print
void Inc(size_t ind, double val=1.)
FIXME_docs.
void Print(std::ostream &os, const char *format=0, int width=0, int prec=0) const
FIXME_docs.
size_t NameMaxLength() const
FIXME_docs.
void Set(size_t ind, double val)
FIXME_docs.
std::string fFormat
default format for Print
std::vector< double > fValue
counter value
void Define(size_t ind, const std::string &name, const std::string &text)
FIXME_docs.
std::uint32_t fHash
hash value for name+text
double operator[](size_t ind) const
FIXME_docs.
const std::string & Name(size_t ind) const
FIXME_docs.
double Value(size_t ind) const
FIXME_docs.
const std::string & Text(size_t ind) const
FIXME_docs.
Rstats()
Default constructor.
Rstats & operator=(const Rstats &rhs)
FIXME_docs.
int fWidth
default width for Print
Declaration of class ReventLoop.
std::ostream & operator<<(std::ostream &os, const RerrMsg &obj)