OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [include/] [machine/] [time.h] - Blame information for rev 362

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#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
#ifdef __SPU__
13
#include <sys/types.h>
14
int nanosleep (const struct timespec *, struct timespec *);
15
#endif
16
 
17
#endif  /* _MACHTIME_H_ */
18
 
19
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.