CustusX
18.04-rc6
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 30 of file cxTimeKeeper.h.
cx::TimeKeeper::TimeKeeper | ( | ) |
Definition at line 20 of file cxTimeKeeper.cpp.
int cx::TimeKeeper::getElapsedms | ( | ) | const |
Definition at line 36 of file cxTimeKeeper.cpp.
QString cx::TimeKeeper::getElapsedSecondsAsString | ( | ) | const |
Definition at line 31 of file cxTimeKeeper.cpp.
void cx::TimeKeeper::printElapsedms | ( | QString | text = "Elapsed" | ) | const |
Definition at line 26 of file cxTimeKeeper.cpp.
void cx::TimeKeeper::printElapsedSeconds | ( | QString | text = "Elapsed time" | ) |
Definition at line 22 of file cxTimeKeeper.cpp.
void cx::TimeKeeper::reset | ( | ) |
Definition at line 41 of file cxTimeKeeper.cpp.