00001 #ifndef QTHREAD_TIMER 00002 #define QTHREAD_TIMER 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 typedef struct qtimer_s *qtimer_t; 00009 00010 void qtimer_start(qtimer_t); 00011 void qtimer_stop(qtimer_t); 00012 double qtimer_secs(qtimer_t); 00013 00014 qtimer_t qtimer_create(void); 00015 void qtimer_destroy(qtimer_t); 00016 00017 #ifdef __cplusplus 00018 } 00019 #endif 00020 00021 #endif