![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <stopwatch.h>
Public Member Functions | |
Stopwatch (bool Activated=true, bool MemUsage=true) | |
~Stopwatch () | |
Will output time during destruction. | |
double | CPUTime () const |
Returns the total CPU time consumed by the current process. |
Util::Stopwatch::Stopwatch | ( | bool | Activated = true , |
bool | MemUsage = true |
||
) | [inline] |
Util::Stopwatch::~Stopwatch | ( | ) | [inline] |
Will output time during destruction.
double Util::Stopwatch::CPUTime | ( | ) | const [inline] |
Returns the total CPU time consumed by the current process.