Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_CHRONO_H
12 #define GAUDIKERNEL_CHRONO_H
62 if ( svc ) { m_chrono = svc->chronoStart( tag ); }
70 m_chrono = rhs.m_chrono;
71 rhs.m_chrono =
nullptr;
123 if ( m_chrono ) { m_chrono->start(); }
150 if ( m_chrono ) { m_chrono->stop(); }
168 #endif // GAUDIKERNEL_CHRONO_H
Chrono(ChronoEntity *c)
Constructor from Chrono Object/Entity.
Chrono(Chrono &&rhs)
Move Constructor.
Chrono & operator=(const Chrono &)=delete
Chrono(const Chrono &)=delete
delete the copy constructor and assignment operators
~Chrono()
Destructor , stop the chrono.
Chrono(ChronoEntity &c)
Constructor from Chrono Object/Entity.
virtual ChronoEntity * chronoStart(const ChronoTag &t)=0
start chrono, tagged by its name
Chrono(const std::string &tag, IChronoSvc *svc)
Constructor from Chrono Service and the tag.
Chrono(IChronoSvc *svc=nullptr, const std::string &tag="CHRONO::UNNAMED")
Constructor from Chrono Service and the tag.