Update to use 64-bit timer when available

This commit is contained in:
Gregory Nutt
2016-01-21 11:54:26 -06:00
parent cb7bbdfed4
commit f348e68069
41 changed files with 182 additions and 165 deletions
+5 -1
View File
@@ -211,7 +211,11 @@
* NuttX configuration.
*/
#define SYS_clock_systimer (__SYS_clock+0)
#ifdef CONFIG_SYSTEM_TIME64
# define SYS_clock_systimer64 (__SYS_clock+0)
#endif
# define SYS_clock_systimer32 (__SYS_clock+0)
#endif
#define SYS_clock_getres (__SYS_clock+1)
#define SYS_clock_gettime (__SYS_clock+2)
#define SYS_clock_settime (__SYS_clock+3)