timer.c File Reference

#include "wizard/studio.h"
#include "wizard/exception.h"
#include "wizard/exception-private.h"
#include "wizard/log.h"
#include "wizard/memory_.h"
#include "wizard/timer.h"
Include dependency graph for timer.c:

Go to the source code of this file.

Data Structures

struct  _TimerInfo

Functions

 sysconf (_SC_CLK_TCK)
WizardExport WizardBooleanType ContinueTimer (TimerInfo *timer_info)
WizardExport TimerInfoDestroyTimerInfo (TimerInfo *timer_info)
static double ElapsedTime (void)
WizardExport double GetElapsedTime (TimerInfo *timer_info)
WizardExport void GetTimerInfo (TimerInfo *timer_info)
WizardExport double GetUserTime (TimerInfo *timer_info)
WizardExport void ResetTimer (TimerInfo *timer_info)
WizardExport void StartTimer (TimerInfo *timer_info, const WizardBooleanType reset)
static void StopTimer (TimerInfo *timer_info)
static double UserTime (void)

Function Documentation

WizardExport WizardBooleanType ContinueTimer ( TimerInfo timer_info  ) 
WizardExport TimerInfo* DestroyTimerInfo ( TimerInfo timer_info  ) 
static double ElapsedTime ( void   )  [static]

Definition at line 207 of file timer.c.

References NTElapsedTime().

Referenced by StartTimer(), and StopTimer().

WizardExport double GetElapsedTime ( TimerInfo timer_info  ) 
WizardExport void GetTimerInfo ( TimerInfo timer_info  ) 

Definition at line 281 of file timer.c.

References StartTimer(), _TimerInfo::state, UndefinedTimerState, and WizardTrue.

WizardExport double GetUserTime ( TimerInfo timer_info  ) 
WizardExport void ResetTimer ( TimerInfo timer_info  ) 
WizardExport void StartTimer ( TimerInfo timer_info,
const WizardBooleanType  reset 
)
static void StopTimer ( TimerInfo timer_info  )  [static]
sysconf ( _SC_CLK_TCK   ) 

Definition at line 73 of file timer.c.

static double UserTime ( void   )  [static]

Definition at line 461 of file timer.c.

References NTUserTime().

Referenced by StartTimer(), and StopTimer().

Generated by  doxygen 1.6.2-20100208