1 #ifndef MPLAYER_TIMER_H
2 #define MPLAYER_TIMER_H
4 extern const char *timer_name
;
7 unsigned int GetTimer(void);
8 unsigned int GetTimerMS(void);
10 float GetRelativeTime(void);
12 int usec_sleep(int usec_delay
);
14 /* timer's callback handling */
15 typedef void timer_callback( void );
16 extern unsigned set_timer_callback(unsigned ms
,timer_callback func
);
17 extern void restore_timer(void);
19 #endif /* MPLAYER_TIMER_H */