Annotation of Gnu-Mach/include/mach/vm_cache_statistics.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (C) 2012 Free Software Foundation
        !             3:  *
        !             4:  * This program is free software; you can redistribute it and/or modify
        !             5:  * it under the terms of the GNU General Public License as published by
        !             6:  * the Free Software Foundation; either version 2 of the License, or
        !             7:  * (at your option) any later version.
        !             8:  *
        !             9:  * This program is distributed in the hope that it will be useful,
        !            10:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            11:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            12:  * GNU General Public License for more details.
        !            13:  *
        !            14:  * You should have received a copy of the GNU General Public License along
        !            15:  * with this program; if not, write to the Free Software Foundation, Inc.,
        !            16:  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
        !            17:  */
        !            18: 
        !            19: #ifndef _MACH_VM_CACHE_STATISTICS_H_
        !            20: #define _MACH_VM_CACHE_STATISTICS_H_
        !            21: 
        !            22: #include <mach/machine/vm_types.h>
        !            23: 
        !            24: struct vm_cache_statistics {
        !            25:        integer_t       cache_object_count;     /* # of cached objects */
        !            26:        integer_t       cache_count;            /* # of cached pages */
        !            27:        integer_t       active_tmp_count;       /* # of active temporary pages */
        !            28:        integer_t       inactive_tmp_count;     /* # of inactive temporary pages */
        !            29:        integer_t       active_perm_count;      /* # of active permanent pages */
        !            30:        integer_t       inactive_perm_count;    /* # of inactive permanent pages */
        !            31:        integer_t       dirty_count;            /* # of dirty pages */
        !            32:        integer_t       laundry_count;          /* # of pages being laundered */
        !            33:        integer_t       writeback_count;        /* # of pages being written back */
        !            34:        integer_t       slab_count;             /* # of slab allocator pages */
        !            35:        integer_t       slab_reclaim_count;     /* # of reclaimable slab pages */
        !            36: };
        !            37: 
        !            38: typedef struct vm_cache_statistics     *vm_cache_statistics_t;
        !            39: typedef struct vm_cache_statistics     vm_cache_statistics_data_t;
        !            40: 
        !            41: #endif /* _MACH_VM_CACHE_STATISTICS_H_ */

unix.superglobalmegacorp.com

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