prints the lifetime of a Timer object on destruction
More...
#include <Timer.h>
prints the lifetime of a Timer object on destruction
NuTo::Timer::Timer |
( |
std::string |
rMsg, |
|
|
bool |
rShowTime = true |
|
) |
| |
ctor, saves the current time
- Parameters
-
rMsg | msg to print on destruction |
rShowTime | false: no output |
NuTo::Timer::Timer |
( |
std::string |
rMsg, |
|
|
bool |
rShowTime, |
|
|
Logger & |
rLogger |
|
) |
| |
ctor, saves the current time
- Parameters
-
rMsg | msg to print on destruction |
rShowTime | false: no output |
NuTo::Timer::Timer |
( |
const Timer & |
| ) |
|
|
delete |
dtor, prints the msg and the lifetime
double NuTo::Timer::GetTimeDifference |
( |
| ) |
const |
returns the time from ctor to now in seconds
void NuTo::Timer::Reset |
( |
| ) |
|
void NuTo::Timer::Reset |
( |
std::string |
rMsg | ) |
|
constexpr int NuTo::Timer::mMinOutputLength = 90 |
|
static |
std::string NuTo::Timer::mMsg |
bool NuTo::Timer::mShowTime |
std::chrono::time_point<std::chrono::system_clock> NuTo::Timer::mWallTimeInit |
The documentation for this class was generated from the following files: