debug.h

Name

debug.h -- The usefull debugging functions.

Synopsis



void        xmlSecTimerInit                 (void);
void        xmlSecTimerStart                (void);
void        xmlSecTimerEnd                  (void);
double      xmlSecTimerGet                  (void);

Description

Details

xmlSecTimerInit ()

void        xmlSecTimerInit                 (void);

Resets the total time counter.


xmlSecTimerStart ()

void        xmlSecTimerStart                (void);

Starts timer.


xmlSecTimerEnd ()

void        xmlSecTimerEnd                  (void);

Adds the time from the last xmlSecTimerStart() function call to the total time counter.


xmlSecTimerGet ()

double      xmlSecTimerGet                  (void);

Gets the current total time counter value in msec.

Returns :the current total time in msec.