#include <kernel.h>
please do not access this pointer directly — Use the inline Kernel() function just below.
Helps finding performance issues. See the MB_TIMER macro for more details.
Public Member Functions | |
Timer (const char *sName, int &iIndex) | |
Use the MB_TIMER macro to construct timer objects instead of using this constructor. More... | |
~Timer (void) | |
Static Public Member Functions | |
static unsigned int | Current (void) |
Used internally only. More... | |
static void | ResetAll (void) |
This function resets all the collected information. More... | |
static void | LogAll (void) |
This function dumps all the collected data to the log. More... | |
Use the MB_TIMER macro to construct timer objects instead of using this constructor.
This function resets all the collected information.
Typically you call this function before executing the operation which has to be measued (for example at the beginning of a stroke) and you call LogAll() at the end.