![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/sys/StopWatch.h>
Public Member Functions | |
void | start (void) |
void | stop (void) |
Time | delay (void) const |
Time | startTime (void) const |
Time | stopTime (void) const |
This class implements a stopwatch for measuring working time of program. Create a stopwatch, call start() just before the code to measure and stop() jus after it and delay() will return the time execute in process time (if the OS allows this).
Get the time when the start() has been called.