view linux/timer.h @ 9124:ff773800b598

I also added that a self-reference is not endlessly played ... (Happened with Hole_Dollparts_MSTR.mov), which also gave the other problems ... Fabian Franz <FabianFranz@gmx.de>
author arpi
date Mon, 27 Jan 2003 22:27:54 +0000
parents df50da00260a
children
line wrap: on
line source

#ifndef __TIMER_H
#define __TIMER_H

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

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