#include </builds/gaudi/Gaudi/GaudiKernel/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 35 of file Chrono.h.
◆ Chrono() [1/6]
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 59 of file Chrono.h.
◆ Chrono() [2/6]
Chrono::Chrono |
( |
Chrono && |
rhs | ) |
|
|
inline |
Move Constructor.
Definition at line 69 of file Chrono.h.
◆ Chrono() [3/6]
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 96 of file Chrono.h.
◆ Chrono() [4/6]
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 122 of file Chrono.h.
◆ Chrono() [5/6]
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 146 of file Chrono.h.
◆ ~Chrono()
Destructor , stop the chrono.
Definition at line 149 of file Chrono.h.
◆ Chrono() [6/6]
Chrono::Chrono |
( |
const Chrono & |
| ) |
|
|
privatedelete |
delete the copy constructor and assignment operators
◆ operator=()
◆ m_chrono
The actual chronometer.
Definition at line 162 of file Chrono.h.
The documentation for this class was generated from the following file:
- GaudiKernel/include/GaudiKernel/Chrono.h