|
TBTK
|
#include <Util.h>
Static Public Member Functions | |
| static void | tick (std::string tag="") |
| static void | tock () |
A Timer for measuring execution times. A sequence of tick-tock calls will meassure and print the time from tick to tock. Multiple timestamps can be pushed onto the stack by repeated tick calls, and subsequent tock calls will return the time between the most recent tick call and then pop it.
|
inlinestatic |
Bush timestamp onto stack.
| tag | Optional identifier tag that will be printed together with the elapsed time at subsequent tock call. |
|
inlinestatic |
Pop timestamp from stack and print elapsed time and identifier tag.
1.8.11