# 2.11BSD#431 - /usr/src/sys/h/vmmac.h

##### Macros

    ave               X

       1: /*
       2:  * Copyright (c) 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:  *	@(#)vmmac.h	1.1 (2.10 Berkeley) 12/1/86
       7:  */
       8:
       9: /* Average new into old with aging factor time */
      10: #define ave(smooth, cnt, time) \
      11:     smooth = ((time - 1) * (smooth) + (cnt)) / (time)

#### Defined macros

ave defined in line 10; used 5 times

- in /usr/src/sys/pdpuba/dh.c line 623
- in /usr/src/sys/pdpuba/dz.c line 548
- in /usr/src/sys/sys/vm_sched.c line 167-171(3)

#### Usage of this include

vmmac.h used 6 times

- in /usr/src/libexec/identd/src/kvm.c line 47
- in /usr/src/sys/h/vm.h line 16-21(2)
- in /usr/src/ucb/PORT/systat/fetch.c line 15
- in /usr/src/ucb/PORT/systat/swap.c line 17
- in /usr/src/usr.bin/fstat/fstat.c line 35

Last modified: 1987-05-16 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 480 |