1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)vmsystm.h 7.2.1 (2.11BSD GTE) 1/15/95
7: */
8:
9: /*
10: * Miscellaneous virtual memory subsystem variables and structures.
11: */
12:
13: size_t freemem; /* remaining clicks of free memory */
14:
15: #if defined(KERNEL) && defined(UCB_METER) && !defined(SUPERVISOR)
16: u_short avefree; /* moving average of remaining free clicks */
17: u_short avefree30; /* 30 sec (avefree is 5 sec) moving average */
18:
19: /* writable copies of tunables */
20: int maxslp; /* max sleep time before very swappable */
21: #endif
22:
23: /*
24: * Fork/vfork accounting.
25: */
26: struct forkstat
27: {
28: long cntfork;
29: long cntvfork;
30: long sizfork;
31: long sizvfork;
32: };
33: #if defined(KERNEL) && defined(UCB_METER) && !defined(SUPERVISOR)
34: struct forkstat forkstat;
35: #endif
Defined variables
Defined struct's
Usage of this include