|
|
1.1 root 1: /*
2: * Structure returned by vtimes() and in vwait().
3: * In vtimes() two of these are returned, one for the process itself
4: * and one for all its children. In vwait() these are combined
5: * by adding componentwise (except for maxrss, which is max'ed).
6: */
7: struct vtimes {
8: int vm_utime; /* user time (60'ths) */
9: int vm_stime; /* system time (60'ths) */
10: /* divide next two by utime+stime to get averages */
11: unsigned vm_idsrss; /* integral of d+s rss */
12: unsigned vm_ixrss; /* integral of text rss */
13: int vm_maxrss; /* maximum rss */
14: int vm_majflt; /* major page faults */
15: int vm_minflt; /* minor page faults */
16: int vm_nswap; /* number of swaps */
17: int vm_inblk; /* block reads */
18: int vm_oublk; /* block writes */
19: };
20:
21: #ifdef KERNEL
22: struct vtimes zvms; /* an empty (componentwise 0) structure */
23: #endif KERNEL
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.