projects
/
dosdemo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1fa83c3a34f514b0c73b7160871a9ba0de558432
[dosdemo]
/
src
/
timer.h
1
#ifndef TIMER_H_
2
#define TIMER_H_
3
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7
8
/* expects the required timer resolution in hertz
9
* if res_hz is 0, the current resolution is retained
10
*/
11
void init_timer(int res_hz);
12
13
void reset_timer(void);
14
unsigned long get_msec(void);
15
16
#ifdef __cplusplus
17
}
18
#endif
19
20
#endif /* TIMER_H_ */