A small utility class for chronometry of user codes.  
 More...
#include <GaudiKernel/Chrono.h>
A small utility class for chronometry of user codes. 
- See also
- ChronoEntity 
- 
IChronoSvc
- Author
- Vanya Belyaev 
- Date
- Nov 26, 1999 
Definition at line 25 of file Chrono.h.
Constructor from Chrono Service and the tag. 
{ 
  Chrono chrono ( svc , 
"some unique tag here" ) ;
   for ( long i = 0 ; i < 10000000 ; ++i )
   {
      .. 
put some CPU-intensive computations here
   }
} 
- Parameters
- 
  
  
Definition at line 51 of file Chrono.h.
   53   { 
if ( svc ) { 
m_chrono = svc -> chronoStart ( tag ) ; } }
 ChronoEntity * m_chrono
The actual chronometer. 
 
 
  
  | 
        
          | Chrono::Chrono | ( | Chrono && | rhs | ) |  |  | inline | 
 
Move Constructor. 
Definition at line 59 of file Chrono.h.
ChronoEntity * m_chrono
The actual chronometer. 
 
 
Constructor from Chrono Service and the tag. 
{ 
  Chrono chrono ( 
"some unique tag here" , svc ) ;
   for ( long i = 0 ; i < 10000000 ; ++i )
   {
      .. 
put some CPU-intensive computations here
   }
} 
- Parameters
- 
  
  
Definition at line 85 of file Chrono.h.
   87   { 
if ( svc ) { 
m_chrono = svc -> chronoStart ( tag ) ; } }
 ChronoEntity * m_chrono
The actual chronometer. 
 
 
Constructor from Chrono Object/Entity. 
{ 
  Chrono chrono ( chronometer ) ;
   for ( long i = 0 ; i < 10000000 ; ++i )
   {
      .. 
put some CPU-intensive computations here
   }
} 
- Parameters
- 
  
    | c | the pointer to Chrono Object/Entity |  
 
Definition at line 109 of file Chrono.h.
ChronoEntity * m_chrono
The actual chronometer. 
 
 
 
Constructor from Chrono Object/Entity. 
{ 
  for ( long i = 0 ; i < 10000000 ; ++i )
   {
      .. 
put some CPU-intensive computations here
   }
} 
- Parameters
- 
  
    | c | the reference to Chrono Object/Entity |  
 
Definition at line 132 of file Chrono.h.
ChronoEntity * m_chrono
The actual chronometer. 
 
 
 
Destructor , stop the chrono. 
Definition at line 135 of file Chrono.h.
ChronoEntity * m_chrono
The actual chronometer. 
IChronoSvc::ChronoStatus stop()
stop the chrono 
 
 
  
  | 
        
          | Chrono::Chrono | ( | const Chrono & |  | ) |  |  | privatedelete | 
 
delete the copy constructor and assignment operators 
 
 
The actual chronometer. 
Definition at line 146 of file Chrono.h.
 
 
The documentation for this class was generated from the following file: