diff options
Diffstat (limited to 'newlib/libc/sys/rtems/sys/times.h')
-rw-r--r-- | newlib/libc/sys/rtems/sys/times.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/sys/times.h b/newlib/libc/sys/rtems/sys/times.h new file mode 100644 index 00000000000..3b8599d300a --- /dev/null +++ b/newlib/libc/sys/rtems/sys/times.h @@ -0,0 +1,31 @@ +/* + * $Id$ + */ + +#ifndef __POSIX_SYS_TIMES_h +#define __POSIX_SYS_TIMES_h + +#ifdef __cplusplus +extern "C" { +#endif + +#include <sys/types.h> + +/* + * 4.5.2 Get Process Times, P1003.1b-1993, p. 92 + */ + +struct tms { + clock_t tms_utime; /* User CPU time */ + clock_t tms_stime; /* System CPU time */ + clock_t tms_cutime; /* User CPU time of terminated child processes */ + clock_t tms_cstime; /* System CPU time of terminated child processes */ +}; + +#ifdef __cplusplus +} +#endif + +#endif +/* end of include file */ + |