Rev 4921 | 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 | |||
6099 | serge | 4 | #if defined(__rtems__) || defined(__VISIUM__) |
5 | #define _CLOCKS_PER_SEC_ 1000000 |
||
6 | #elif defined(__aarch64__) || defined(__arm__) || defined(__thumb__) |
||
4349 | Serge | 7 | #define _CLOCKS_PER_SEC_ 100 |
8 | #endif |
||
9 | |||
10 | #ifdef __SPU__ |
||
6099 | serge | 11 | #include |
4349 | Serge | 12 | int nanosleep (const struct timespec *, struct timespec *); |
13 | #endif |
||
14 | |||
15 | #endif /* _MACHTIME_H_ */ |