istereo2
diff src/timer.h @ 8:661bf09db398
- replaced Quartz timer with cross-platform timer code
- protected goatkit builtin theme function from being optimized out
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 24 Sep 2015 07:09:37 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/timer.h Thu Sep 24 07:09:37 2015 +0300 1.3 @@ -0,0 +1,10 @@ 1.4 +#ifndef TIMER_H_ 1.5 +#define TIMER_H_ 1.6 + 1.7 +unsigned long get_time_msec(void); 1.8 +void sleep_msec(unsigned long msec); 1.9 + 1.10 +double get_time_sec(void); 1.11 +void sleep_sec(double sec); 1.12 + 1.13 +#endif /* TIMER_H_ */