Go to the documentation of this file.
75 IChronoStatSvc::ChronoTime
chronoDelta(
const IChronoStatSvc::ChronoTag& chronoTag,
76 IChronoStatSvc::ChronoType theType )
override;
81 void chronoPrint(
const IChronoStatSvc::ChronoTag& chronoTag )
override;
86 ChronoStatus
chronoStatus(
const IChronoStatSvc::ChronoTag& chronoTag )
override;
92 void stat(
const IChronoStatSvc::StatTag& statTag,
const IChronoStatSvc::StatFlag& statFlag )
override;
98 void statPrint(
const IChronoStatSvc::ChronoTag& statTag )
override;
151 auto lock = std::scoped_lock{
m_mutex };
175 "decide if the final printout should be performed" };
177 "define the destination of the table to be printed" };
186 "decide if the final printout should be performed" };
188 "define the destination of the table to be printed" };
195 this,
"AsciiStatsOutputFile",
"",
196 "Name of the output file storing the stats. If empty, no statistics will be saved (default)" };
199 this,
"StatTableHeader",
200 " | Counter | # | sum | mean/eff^* | rms/err^* | min | max |",
201 "The header row for the output Stat-table" };
203 "Use the special format for printout of efficiency counters" };
Gaudi::Property< std::string > m_header
Gaudi::Property< bool > m_printSystemTime
Gaudi::Property< bool > m_chronoOrderFlag
Gaudi::Property< int > m_intStatPrintLevel
ChronoEntity & getEntity(const ChronoTag &chronoTag)
ChronoMap m_chronoEntities
chrono part
StatusCode finalize() override
Implementation of IService::finalize()
backward compatible StatEntity class.
Gaudi::Property< bool > m_statCoutFlag
ChronoStatus chronoStatus(const IChronoStatSvc::ChronoTag &chronoTag) override
Implementation of IChronoStatSvc::chronoStatus.
StatMap m_statEntities
stat part
void merge(const ChronoStatSvc &css)
Compound assignment operator.
void stat(const IChronoStatSvc::StatTag &statTag, const IChronoStatSvc::StatFlag &statFlag) override
Implementation of IChronoStatSvc::stat add statistical information to the entity ,...
IChronoStatSvc::ChronoTime chronoDelta(const IChronoStatSvc::ChronoTag &chronoTag, IChronoStatSvc::ChronoType theType) override
Implementation of IchronoStatSvc::chronoDelta.
const ChronoEntity * chronoStop(const IChronoStatSvc::ChronoTag &chronoTag) override
Implementation of IChronoStatSvc::chronoStop.
void statPrint(const IChronoStatSvc::ChronoTag &statTag) override
prints (using message service) info about statistical entity, tagged by its name
void saveStats()
dump the statistics into an ASCII file for offline processing
Gaudi::Property< bool > m_printUserTime
std::mutex m_mutex
Mutex protecting m_chronoEntities.
const std::string & name() const override
Retrieve name of the service
static MSG::Level int2level(int l)
~ChronoStatSvc() override=default
Gaudi::Property< bool > m_printEllapsedTime
Gaudi::Property< bool > m_chronoTableFlag
Gaudi::Property< bool > m_useEffFormat
MSG::Level m_chronoPrintLevel
level of info printing
Base class used to extend a class implementing other interfaces.
Gaudi::Property< int > m_intChronoPrintLevel
ServiceHandle< IInterface > m_hiveWhiteBoardSvc
Gaudi::Property< bool > m_statTableFlag
ChronoStatSvc(const ChronoStatSvc &)=delete
ChronoEntity * chronoStart(const IChronoStatSvc::ChronoTag &chronoTag) override
Implementation of IChronoStatSvc::chronoStart.
Gaudi::Property< bool > m_statOrderFlag
Gaudi::Property< bool > m_chronoCoutFlag
MSG::Level m_statPrintLevel
level of info printing
void handle(const Incident &incident) override
StatusCode initialize() override
Implementation of IService::initialize()
Gaudi::Property< std::string > m_perEventFile
void chronoPrint(const IChronoStatSvc::ChronoTag &chronoTag) override
Implementation of IChronoStatSvc::chronoPrint.
Gaudi::Property< std::string > m_statsOutFileName
ChronoStatSvc & operator=(const ChronoStatSvc &)=delete
const ChronoEntity * chrono(const IChronoStatSvc::ChronoTag &t) const override
extract the chrono entity for the given tag (name)
ChronoStatSvc(const std::string &name, ISvcLocator *svcloc)
Default constructor.