49 std :: chrono :: time_point< std :: chrono :: high_resolution_clock >
start_wtime, end_wtime;
79 static void convert2HMS(
int &nhrs,
int &nmin,
int &nsec,
double tsec);
82 void toString(
char *buff);
84 void updateElapsedTime();
88 void getUtime(std :: chrono :: duration< double > &answer);
90 void getTime(std :: chrono :: time_point< std :: chrono :: high_resolution_clock > &answer);
144 static void convert2HMS(
int &nhrs,
int &nmin,
int &nsec,
double tsec);
void pauseTimer(EngngModelTimerType t)
const Timer * getTimer(EngngModelTimerType t)
Returns pointer to timer determined by EngngModelTimerType.
std::chrono::duration< double > elapsedWTime
Accumulated wtime and utime (in seconds) from start.
void startTimer(EngngModelTimerType t)
std::chrono::time_point< std::chrono::high_resolution_clock > start_wtime
Wall clock time markers.
void initTimer(EngngModelTimerType t)
void stopTimer(EngngModelTimerType t)
EngngModelTimerType
Enumeration to distinguish different type of timers.
std::chrono::duration< double > start_utime
User time.
Timer class, assumed to be an attribute of engineering model, serving stop-watch facility for enginee...
void resumeTimer(EngngModelTimerType t)
Class implementing single timer, providing wall clock and user time capabilities. ...
the oofem namespace is to define a context or scope in which all oofem names are defined.
bool running
Flag indicating whether timer is running.