Functions

Timing measurements

Functions

long GuidoGetParsingTime (const ARHandler ar)
 Gets parsing time.
long GuidoGetAR2GRTime (const GRHandler gr)
 Gets AR to GR procedure time.
long GuidoGetOnDrawTime (const GRHandler gr)
 Gets GR drawing procedure time.

Detailed Description

Includes functions to query the time spent by the main Guido Engine operations.


Function Documentation

long GuidoGetParsingTime ( const ARHandler  ar )

Gets parsing time.

Parameters:
arthe ar handler given to extract the parsing time
Returns:
the time spent on building the AR representation (in msl) or -1 for invalid handlers
long GuidoGetAR2GRTime ( const GRHandler  gr )

Gets AR to GR procedure time.

Parameters:
grthe gr handler given to extract the AR2GR time
Returns:
the time spent to convert the AR representation to GR (in msl) or -1 for invalid handlers
long GuidoGetOnDrawTime ( const GRHandler  gr )

Gets GR drawing procedure time.

Parameters:
grthe gr handler given to extract the drawing time
Returns:
the time spent on the last OnDraw call (in msl) or -1 if OnDraw has not yet been called or for invalid handlers