view osdep/timer.h @ 17893:aa38bf333f18

1.1230: Typo fix: "URLs to forces" --> "URLs to force" 1.1229: Allows the LIVE555 library to forces the client's port to be used... 1.1228: dwStart support for mencoder. 1.1227: This patch removes mmap support because it doesn't have any benefit. 1.1226: Rephrase telecine and film2pal mpegopts. 1.1225: Remove stray space. 1.1224: mention film2pal in -mpegopts 1.1223: -fixed-vo shall no longer be called BETA-CODE.
author kraymer
date Sat, 18 Mar 2006 20:02:47 +0000
parents f580a7755ac5
children 88bed2131f19
line wrap: on
line source

#ifndef __TIMER_H
#define __TIMER_H

extern const char *timer_name;

void InitTimer(void);
unsigned int GetTimer(void);
unsigned int GetTimerMS(void);
//int uGetTimer();
float GetRelativeTime(void);

int usec_sleep(int usec_delay);

/* timer's callback handling */
typedef void timer_callback( void );
extern unsigned set_timer_callback(unsigned ms,timer_callback func);
extern void restore_timer(void);

#endif