view linux/timer.h @ 5420:4ea69b1790d9

modified the new MS RLE decoder to support BGR15/16 output formats in addition to BGR24/32, just like the old XAnim decoder; it's also interesting to note that this commit wantonly violates A'rpi's newest nonsensical CVS policy, and I quote: Note: if you had to put if(){ .. } over big (> 5 lines) code, do NOT change the indent of the inner part (move it right) !
author melanson
date Sun, 31 Mar 2002 15:33:32 +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