CustusX
16.5.0-rc9
An IGT application
|
#include <cxTimeKeeper.h>
Public Member Functions | |
TimeKeeper () | |
void | printElapsedSeconds (QString text="Elapsed time") |
void | printElapsedms (QString text="Elapsed") const |
QString | getElapsedSecondsAsString () const |
int | getElapsedms () const |
void | reset () |
Helper class for measuring and printing the time spent in code.
Definition at line 51 of file cxTimeKeeper.h.
cx::TimeKeeper::TimeKeeper | ( | ) |
Definition at line 41 of file cxTimeKeeper.cpp.
int cx::TimeKeeper::getElapsedms | ( | ) | const |
Definition at line 57 of file cxTimeKeeper.cpp.
QString cx::TimeKeeper::getElapsedSecondsAsString | ( | ) | const |
Definition at line 52 of file cxTimeKeeper.cpp.
void cx::TimeKeeper::printElapsedms | ( | QString | text = "Elapsed" | ) | const |
Definition at line 47 of file cxTimeKeeper.cpp.
void cx::TimeKeeper::printElapsedSeconds | ( | QString | text = "Elapsed time" | ) |
Definition at line 43 of file cxTimeKeeper.cpp.
void cx::TimeKeeper::reset | ( | ) |
Definition at line 62 of file cxTimeKeeper.cpp.