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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc2/] [newlib/] [libc/] [include/] [sys/] [times.h] - Diff between revs 207 and 520

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 */
 
 

powered by: WebSVN 2.1.0

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