Definition at line 55 of file BESStopWatch.h.
◆ BESStopWatch() [1/2]
BESStopWatch::BESStopWatch |
( |
| ) |
|
|
inline |
◆ BESStopWatch() [2/2]
BESStopWatch::BESStopWatch |
( |
std::string |
logName | ) |
|
|
inline |
◆ ~BESStopWatch()
BESStopWatch::~BESStopWatch |
( |
| ) |
|
|
virtual |
This destructor is "special" in that it's execution signals the timer to stop if it has been started. Stopping the timer will initiate an attempt to write logging information to the BESDebug::GetStrm() stream. If the start method has not been called then the method exits silently.
Definition at line 172 of file BESStopWatch.cc.
◆ dump()
void BESStopWatch::dump |
( |
std::ostream & |
strm | ) |
const |
|
virtual |
dumps information about this object
Displays the pointer value of this instance
- Parameters
-
strm | C++ i/o stream to dump the information to |
Implements BESObj.
Definition at line 468 of file BESStopWatch.cc.
◆ start() [1/2]
bool BESStopWatch::start |
( |
std::string |
name | ) |
|
|
virtual |
Starts the timer. NB: This method will attempt to write logging information to the BESDebug::GetStrm() stream.
- Parameters
-
name | The name of the timer. |
Definition at line 67 of file BESStopWatch.cc.
◆ start() [2/2]
bool BESStopWatch::start |
( |
std::string |
name, |
|
|
std::string |
reqID |
|
) |
| |
|
virtual |
Starts the timer. NB: This method will attempt to write logging information to the BESDebug::GetStrm() stream.
- Parameters
-
name | The name of the timer. |
reqID | The client's request ID associated with this activity. Available from the DataHandlerInterfact object. |
Starts the timer. NB: This method will attempt to write logging information to the BESDebug::GetStrm() stream.
- Parameters
-
name | The name of the timer. |
reqID | The client's request ID associated with this activity. Available from the DataHandlerInterfact object. |
Definition at line 81 of file BESStopWatch.cc.
The documentation for this class was generated from the following files: