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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [include/] [sys/] [times.h] - Blame information for rev 207

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

Line No. Rev Author Line
1 207 jeremybenn
#ifndef _SYS_TIMES_H
2
#ifdef __cplusplus
3
extern "C" {
4
#endif
5
#define _SYS_TIMES_H
6
 
7
#include <_ansi.h>
8
#include <machine/types.h>
9
 
10
#ifndef __clock_t_defined
11
typedef _CLOCK_T_ clock_t;
12
#define __clock_t_defined
13
#endif
14
 
15
/*  Get Process Times, P1003.1b-1993, p. 92 */
16
struct tms {
17
        clock_t tms_utime;              /* user time */
18
        clock_t tms_stime;              /* system time */
19
        clock_t tms_cutime;             /* user time, children */
20
        clock_t tms_cstime;             /* system time, children */
21
};
22
 
23
clock_t _EXFUN(times,(struct tms *));
24
 
25
#ifdef __cplusplus
26
}
27
#endif
28
#endif  /* !_SYS_TIMES_H */

powered by: WebSVN 2.1.0

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