equal
deleted
inserted
replaced
24 #ifndef __TIMERSCFG_H__ |
24 #ifndef __TIMERSCFG_H__ |
25 #define __TIMERSCFG_H__ |
25 #define __TIMERSCFG_H__ |
26 |
26 |
27 #include <windows.h> |
27 #include <windows.h> |
28 |
28 |
29 // Time unit : us |
29 // Time unit : 100 ns |
30 // Time resolution : 64bit (~584942 years) |
|
31 #define TIMEVAL unsigned long long |
30 #define TIMEVAL unsigned long long |
32 #define TIMEVAL_MAX ~(TIMEVAL)0 |
31 #define TIMEVAL_MAX ~(TIMEVAL)0 |
33 |
32 |
34 #define MS_TO_TIMEVAL(ms) ms*10000 |
33 #define MS_TO_TIMEVAL(ms) ms*10000 |
35 #define US_TO_TIMEVAL(us) us*10 |
34 #define US_TO_TIMEVAL(us) us*10 |