-{
- /* Total amount of user time used. */
- struct __timeval ru_utime;
- /* Total amount of system time used. */
- struct __timeval ru_stime;
- /* Maximum resident set size (in kilobytes). */
- int ru_maxrss;
- /* Amount of sharing of text segment memory
- with other processes (kilobyte-seconds). */
- int ru_ixrss;
- /* Amount of data segment memory used (kilobyte-seconds). */
- int ru_idrss;
- /* Amount of stack memory used (kilobyte-seconds). */
- int ru_isrss;
- /* Number of soft page faults (i.e. those serviced by reclaiming
- a page from the list of pages awaiting reallocation. */
- int ru_minflt;
- /* Number of hard page faults (i.e. those that required I/O). */
- int ru_majflt;
- /* Number of times a process was swapped out of physical memory. */
- int ru_nswap;
- /* Number of input operations via the file system. Note: This
- and `ru_oublock' do not include operations with the cache. */
- int ru_inblock;
- /* Number of output operations via the file system. */
- int ru_oublock;
- /* Number of IPC messages sent. */
- int ru_msgsnd;
- /* Number of IPC messages received. */
- int ru_msgrcv;
- /* Number of signals delivered. */
- int ru_nsignals;
- /* Number of voluntary context switches, i.e. because the process
- gave up the process before it had to (usually to wait for some
- resource to be available). */
- int ru_nvcsw;
- /* Number of involuntary context switches, i.e. a higher priority process
- became runnable or the current process used up its time slice. */
- int ru_nivcsw;
-};
+ {
+ /* Total amount of user time used. */
+ struct timeval ru_utime;
+ /* Total amount of system time used. */
+ struct timeval ru_stime;
+ /* Maximum resident set size (in kilobytes). */
+ int ru_maxrss;
+ /* Amount of sharing of text segment memory
+ with other processes (kilobyte-seconds). */
+ int ru_ixrss;
+ /* Amount of data segment memory used (kilobyte-seconds). */
+ int ru_idrss;
+ /* Amount of stack memory used (kilobyte-seconds). */
+ int ru_isrss;
+ /* Number of soft page faults (i.e. those serviced by reclaiming
+ a page from the list of pages awaiting reallocation. */
+ int ru_minflt;
+ /* Number of hard page faults (i.e. those that required I/O). */
+ int ru_majflt;
+ /* Number of times a process was swapped out of physical memory. */
+ int ru_nswap;
+ /* Number of input operations via the file system. Note: This
+ and `ru_oublock' do not include operations with the cache. */
+ int ru_inblock;
+ /* Number of output operations via the file system. */
+ int ru_oublock;
+ /* Number of IPC messages sent. */
+ int ru_msgsnd;
+ /* Number of IPC messages received. */
+ int ru_msgrcv;
+ /* Number of signals delivered. */
+ int ru_nsignals;
+ /* Number of voluntary context switches, i.e. because the process
+ gave up the process before it had to (usually to wait for some
+ resource to be available). */
+ int ru_nvcsw;
+ /* Number of involuntary context switches, i.e. a higher priority process
+ became runnable or the current process used up its time slice. */
+ int ru_nivcsw;
+ };