annotate osdep/timer.h @ 15734:7e4fa8fc255c

helper functions for comparing strarg_t "strings".
author reimar
date Thu, 16 Jun 2005 09:08:07 +0000
parents f9755d9c479a
children f580a7755ac5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4863
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
1 #ifndef __TIMER_H
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
2 #define __TIMER_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
12954
f9755d9c479a Native darwin timer update.
wight
parents: 9380
diff changeset
4 extern const char *timer_name;
f9755d9c479a Native darwin timer update.
wight
parents: 9380
diff changeset
5
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 void InitTimer();
99
fb1fc94eaff0 removed redundancy...
arpi_esp
parents: 1
diff changeset
7 unsigned int GetTimer();
4385
7bb8f7905000 GetTimerMS added - get timer in millisec
arpi
parents: 2266
diff changeset
8 unsigned int GetTimerMS();
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 //int uGetTimer();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 float GetRelativeTime();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
2266
c2ed1e5742ed sleep stuff moved to linux/timertimer-lx.c
arpi
parents: 99
diff changeset
12 int usec_sleep(int usec_delay);
c2ed1e5742ed sleep stuff moved to linux/timertimer-lx.c
arpi
parents: 99
diff changeset
13
4863
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
14 /* timer's callback handling */
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
15 typedef void timer_callback( void );
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
16 extern unsigned set_timer_callback(unsigned ms,timer_callback func);
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
17 extern void restore_timer(void);
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
18
df50da00260a POSIX compatible timer's callback
nick
parents: 4385
diff changeset
19 #endif