aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/machine/time.h
blob: 54de27001ba769988231be548e8152460e811bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef	_MACHTIME_H_
#define	_MACHTIME_H_

#if defined(__rtems__)
/* XXX Emscripten #define _CLOCKS_PER_SEC_  sysconf(_SC_CLK_TCK) */
#else  /* !__rtems__ */
#if defined(__arm__) || defined(__thumb__)
/* XXX Emscripten #define _CLOCKS_PER_SEC_ 100 */
#endif
#endif /* !__rtems__ */

#ifdef __SPU__
#include <sys/types.h>
int nanosleep (const struct timespec *, struct timespec *);
#endif

#endif	/* _MACHTIME_H_ */