Subversion Repositories Kolibri OS

Rev

Rev 4874 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  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(__aarch64__) || defined(__arm__) || defined(__thumb__)
  8. #define _CLOCKS_PER_SEC_ 100
  9. #endif
  10. #endif /* !__rtems__ */
  11.  
  12. #ifdef __SPU__
  13. #include <sys/types.h>
  14. int nanosleep (const struct timespec *, struct timespec *);
  15. #endif
  16.  
  17. #endif  /* _MACHTIME_H_ */
  18.  
  19.  
  20.