16 #include "boost/format.hpp"
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
SmartIF< IStatSvc > m_stat
Stat service.
virtual void stat(const StatTag &t, const StatFlag &f)=0
add statistical information to the entity , tagged by its name
StatEntity * m_entity
underlying counter
Stat operator+(const Stat &stat, const double value)
external operator for addition of Stat and a number
std::string m_tag
unique stat tag(name)
Stat(StatEntity *entity=0, const std::string &name="", const std::string &group="")
constructor from StatEntity, name and group :
std::string toString() const
representation as string
std::ostream & operator<<(std::ostream &stream, const Stat &stat)
external printout operator to std::ostream
"Stat"-related part of interface IChronoStatSvc
backward compatible StatEntity class.
std::ostream & print(std::ostream &o=std::cout) const
printout to std::ostream
Stat operator-(const Stat &stat, const double value)
external operator for subtraction of Stat and a number