Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
4349 Serge 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__ */
4921 Serge 7
#if defined(__aarch64__) || defined(__arm__) || defined(__thumb__)
4349 Serge 8
#define _CLOCKS_PER_SEC_ 100
9
#endif
10
#endif /* !__rtems__ */
11
 
12
#ifdef __SPU__
13
#include 
14
int nanosleep (const struct timespec *, struct timespec *);
15
#endif
16
 
17
#endif	/* _MACHTIME_H_ */
18