Back to index

glibc  2.9
Classes | Defines | Functions
vtimes.h File Reference
#include <features.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vtimes

Defines

#define VTIMES_UNITS_PER_SECOND   60

Functions

int vtimes (struct vtimes *__current, struct vtimes *__child) __THROW

Class Documentation

struct vtimes

Definition at line 32 of file vtimes.h.

Class Members
unsigned int vm_idsrss
int vm_inblk
unsigned int vm_ixrss
int vm_majflt
int vm_maxrss
int vm_minflt
int vm_nswap
int vm_oublk
int vm_stime
int vm_utime

Define Documentation

#define VTIMES_UNITS_PER_SECOND   60

Definition at line 30 of file vtimes.h.


Function Documentation

int vtimes ( struct vtimes __current,
struct vtimes __child 
)

Definition at line 57 of file vtimes.c.

{
  if (vtimes_one (current, RUSAGE_SELF) < 0
      || vtimes_one (child, RUSAGE_CHILDREN) < 0)
    return -1;
  return 0;
}

Here is the call graph for this function: