Timer Class Reference

#include <kernel.h>

Class Description

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.

Definition at line 544 of file kernel.h.

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...
 

Constructor & Destructor Documentation

Timer ( const char *  sName,
int iIndex 
)

Use the MB_TIMER macro to construct timer objects instead of using this constructor.

~Timer ( void  )

Member Function Documentation

static unsigned int Current ( void  )
static

Used internally only.

static void ResetAll ( void  )
static

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.

static void LogAll ( void  )
static

This function dumps all the collected data to the log.


The documentation for this class was generated from the following file: