Commit | Line | Data |
---|---|---|
6bafdb92 C |
1 | /* vtimes.h 4.2 81/02/19 */ |
2 | /* | |
3 | * Structure returned by vtimes() and in vwait(). | |
4 | * In vtimes() two of these are returned, one for the process itself | |
5 | * and one for all its children. In vwait() these are combined | |
6 | * by adding componentwise (except for maxrss, which is max'ed). | |
7 | */ | |
8 | struct vtimes { | |
9 | int vm_utime; /* user time (60'ths) */ | |
10 | int vm_stime; /* system time (60'ths) */ | |
11 | /* divide next two by utime+stime to get averages */ | |
12 | unsigned vm_idsrss; /* integral of d+s rss */ | |
13 | unsigned vm_ixrss; /* integral of text rss */ | |
14 | int vm_maxrss; /* maximum rss */ | |
15 | int vm_majflt; /* major page faults */ | |
16 | int vm_minflt; /* minor page faults */ | |
17 | int vm_nswap; /* number of swaps */ | |
18 | int vm_inblk; /* block reads */ | |
19 | int vm_oublk; /* block writes */ | |
20 | }; | |
21 | ||
22 | #ifdef KERNEL | |
23 | struct vtimes zvms; /* an empty (componentwise 0) structure */ | |
24 | #endif |