URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 207 |
Rev 520 |
#ifndef _SYS_TIMES_H
|
#ifndef _SYS_TIMES_H
|
#ifdef __cplusplus
|
#ifdef __cplusplus
|
extern "C" {
|
extern "C" {
|
#endif
|
#endif
|
#define _SYS_TIMES_H
|
#define _SYS_TIMES_H
|
|
|
#include <_ansi.h>
|
#include <_ansi.h>
|
#include <machine/types.h>
|
#include <machine/types.h>
|
|
|
#ifndef __clock_t_defined
|
#ifndef __clock_t_defined
|
typedef _CLOCK_T_ clock_t;
|
typedef _CLOCK_T_ clock_t;
|
#define __clock_t_defined
|
#define __clock_t_defined
|
#endif
|
#endif
|
|
|
/* Get Process Times, P1003.1b-1993, p. 92 */
|
/* Get Process Times, P1003.1b-1993, p. 92 */
|
struct tms {
|
struct tms {
|
clock_t tms_utime; /* user time */
|
clock_t tms_utime; /* user time */
|
clock_t tms_stime; /* system time */
|
clock_t tms_stime; /* system time */
|
clock_t tms_cutime; /* user time, children */
|
clock_t tms_cutime; /* user time, children */
|
clock_t tms_cstime; /* system time, children */
|
clock_t tms_cstime; /* system time, children */
|
};
|
};
|
|
|
clock_t _EXFUN(times,(struct tms *));
|
clock_t _EXFUN(times,(struct tms *));
|
|
|
#ifdef __cplusplus
|
#ifdef __cplusplus
|
}
|
}
|
#endif
|
#endif
|
#endif /* !_SYS_TIMES_H */
|
#endif /* !_SYS_TIMES_H */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.