Annotation of 40BSD/sys/h/vmmeter.h, revision 1.1

1.1     ! root        1: 
        !             2: /*     vmmeter.h       4.1     11/9/80 */
        !             3: 
        !             4: /*
        !             5:  * Virtual memory related instrumentation
        !             6:  *
        !             7:  * NB: THE OFFSETS IN THE vmmeter STRUCTURE ARE KNOWN IN vm.m.
        !             8:  */
        !             9: struct vmmeter
        !            10: {
        !            11: #define        v_first v_swtch
        !            12:        unsigned v_swtch;       /* context switches */
        !            13:        unsigned v_trap;        /* calls to trap */
        !            14:        unsigned v_syscall;     /* calls to syscall() */
        !            15:        unsigned v_intr;        /* device interrupts */
        !            16:        unsigned v_pdma;        /* pseudo-dma interrupts */
        !            17:        unsigned v_pswpin;      /* pages swapped in */
        !            18:        unsigned v_pswpout;     /* pages swapped out */
        !            19:        unsigned v_pgin;        /* pageins */
        !            20:        unsigned v_pgout;       /* pageouts */
        !            21:        unsigned v_intrans;     /* intransit blocking page faults */
        !            22:        unsigned v_pgrec;       /* total page reclaims */
        !            23:        unsigned v_xsfrec;      /* found in free list rather than on swapdev */
        !            24:        unsigned v_xifrec;      /* found in free list rather than in filsys */
        !            25:        unsigned v_exfod;       /* pages filled on demand from executables */
        !            26:        unsigned v_zfod;        /* pages zero filled on demand */
        !            27:        unsigned v_vrfod;       /* fills of pages mapped by vread() */
        !            28:        unsigned v_nexfod;      /* number of exfod's created */
        !            29:        unsigned v_nzfod;       /* number of zfod's created */
        !            30:        unsigned v_nvrfod;      /* number of vrfod's created */
        !            31:        unsigned v_pgfrec;      /* page reclaims from free list */
        !            32:        unsigned v_faults;      /* total faults taken */
        !            33:        unsigned v_scan;        /* scans in page out daemon */
        !            34:        unsigned v_rev;         /* revolutions of the hand */
        !            35:        unsigned v_dfree;       /* pages freed by daemon */
        !            36: #define        v_last v_dfree
        !            37:        unsigned v_swpin;       /* swapins */
        !            38:        unsigned v_swpout;      /* swapouts */
        !            39: };
        !            40: #ifdef KERNEL
        !            41: struct vmmeter cnt, rate, sum;
        !            42: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.