1: #ifndef _MACHTIME_H_ 2: #define _MACHTIME_H_ 3: 4: #if defined(__rtems__) 5: #define _CLOCKS_PER_SEC_ sysconf(_SC_CLK_TCK) 6: #else /* !__rtems__ */ 7: #if defined(__arm__) || defined(__thumb__) 8: #define _CLOCKS_PER_SEC_ 100 9: #endif 10: #endif /* !__rtems__ */ 11: 12: #endif /* _MACHTIME_H_ */ 13: 14: 15: