timer.h

Go to the documentation of this file.
00001 
00006 #if !defined(INC_OSKI_TIMER_H)
00007 
00008 #define INC_OSKI_TIMER_H
00009 
00010 #include <oski/common.h>
00011 
00013 typedef struct tagBebop_timerstruct_t *oski_timer_t;
00014 
00016 #define INVALID_TIMER ((oski_timer_t)NULL)
00017 
00019 oski_timer_t oski_CreateTimer (void);
00020 
00022 void oski_DestroyTimer (oski_timer_t timer);
00023 
00025 void oski_RestartTimer (oski_timer_t timer);
00026 
00028 void oski_StopTimer (oski_timer_t timer);
00029 
00031 const char *oski_GetTimerDesc (oski_timer_t timer);
00032 
00041 double oski_ReadElapsedTime (oski_timer_t timer);
00042 
00049 void oski_CalibrateTimer (oski_timer_t timer);
00050 
00054 double oski_GetTimerSecsPerTick (void);
00055 
00056 #endif
00057 
00058 /* eof */

Generated on Wed Sep 19 16:41:18 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6