#include <PyChrono.h>
Definition at line 27 of file PyChrono.h.
◆ PyChrono() [1/2]
Constructor with parameters:
Definition at line 33 of file PyChrono.cxx.
◆ ~PyChrono()
◆ PyChrono() [2/2]
◆ chronoDelta()
double PyChrono::chronoDelta |
( |
const std::string & |
t, |
|
|
const std::string & |
f |
|
) |
| |
return chrono delta time of last start/stop pair
- Parameters
-
t | chrono tag (name) |
f | chtono type |
- Returns
- delta time
Definition at line 58 of file PyChrono.cxx.
63 v =
static_cast<double>(
m_chronoSvc->chronoDelta(
t,IChronoStatSvc::USER));
64 }
else if (
f ==
"s" ) {
65 v =
static_cast<double>(
m_chronoSvc->chronoDelta(
t,IChronoStatSvc::KERNEL));
66 }
else if (
f ==
"r" ) {
67 v =
static_cast<double>(
m_chronoSvc->chronoDelta(
t, IChronoStatSvc::ELAPSED));
◆ chronoStart()
void PyChrono::chronoStart |
( |
const std::string & |
t | ) |
|
start chrono, tagged by its name
- Parameters
-
- Returns
- status code
Definition at line 51 of file PyChrono.cxx.
◆ chronoStop()
void PyChrono::chronoStop |
( |
const std::string & |
t | ) |
|
stop chrono, tagged by its name
- Parameters
-
- Returns
- status code
Definition at line 54 of file PyChrono.cxx.
◆ operator=()
◆ m_chronoSvc
Pointer to the IChronoStatSvc.
Definition at line 73 of file PyChrono.h.
The documentation for this class was generated from the following files: