Go to the documentation of this file.
51 const std::string& tag =
"CHRONO::UNNAMED" )
53 if ( svc ) { m_chrono = svc->chronoStart( tag ); }
57 m_chrono = rhs.m_chrono;
58 rhs.m_chrono =
nullptr;
109 if ( m_chrono ) { m_chrono->start(); }
136 if ( m_chrono ) { m_chrono->stop(); }
Chrono(ChronoEntity *c)
Constructor from Chrono Object/Entity.
Chrono & operator=(const Chrono &)=delete
Chrono(const Chrono &)=delete
~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.