17 #include "boost/format.hpp" virtual StatusCode create(const std::string &group, const std::string &name, longlong initial_value, Counter *&refpCounter)=0
Create a new counter object. 
virtual Counter * get(const std::string &group, const std::string &name) const  =0
Access an existing counter object. 
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)". 
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Create / access multi purpose counters. 
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 
void reset()
reset the counters 
const std::string & name() const 
counter name 
std::string m_tag
unique stat tag(name) 
SmartIF< ICounterSvc > m_counter
Counter Service. 
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)
output operator for the counter object 
"Stat"-related part of interface IChronoStatSvc 
The basic counter used for Monitoring purposes. 
std::ostream & print(std::ostream &o=std::cout) const 
printout to std::ostream 
const std::string & group() const 
counter group (for ICounterSvc) 
Stat operator-(const Stat &stat, const double value)
external operator for subtraction of Stat and a number