equal
deleted
inserted
replaced
21 */ |
21 */ |
22 |
22 |
23 #ifndef __TIMERSCFG_H__ |
23 #ifndef __TIMERSCFG_H__ |
24 #define __TIMERSCFG_H__ |
24 #define __TIMERSCFG_H__ |
25 |
25 |
26 #include <native/task.h> |
26 #include <alchemy/task.h> |
27 #include <native/timer.h> |
27 #include <alchemy/timer.h> |
28 #include <native/mutex.h> |
28 #include <alchemy/mutex.h> |
29 #include <native/cond.h> |
29 #include <alchemy/cond.h> |
30 #include <native/sem.h> |
30 #include <alchemy/sem.h> |
31 #include <native/alarm.h> |
31 #include <alchemy/alarm.h> |
32 |
32 |
33 // Time unit : ns |
33 // Time unit : ns |
34 // Time resolution : 64bit (~584 years) |
34 // Time resolution : 64bit (~584 years) |
35 #define TIMEVAL RTIME |
35 #define TIMEVAL RTIME |
36 #define TIMEVAL_MAX ~(RTIME)0 |
36 #define TIMEVAL_MAX ~(RTIME)0 |