summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/rtems/sys/times.h
blob: 3b8599d300a460297898b576b0d63ee67035a530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 */