Commented out the aliasdata stuff that doesn't work
[ITFoundation.git] / ITVirtualMemoryInfo.h
1 /*
2  *      ITFoundation
3  *      ITVirtualMemoryInfo
4  *        Class that provides utilities for getting information
5  *        on Mac OS X's mach kernel's Virtual Memory settings
6  *        and status
7  *
8  *      Original Author : Joseph Spiros <joseph.spiros@ithinksw.com>
9  *   Responsibility : Matt Judy <mjudy@ithinksw.com>
10  *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
11  *
12  *      Copyright (c) 2002 - 2003 iThink Software.
13  *      All Rights Reserved
14  *
15  */
16
17 #import <Foundation/Foundation.h>
18 #import <mach/mach.h>
19
20 /* For this platform, as of this Mach version,
21  * the default page size is 4096, or 4k */
22 #define DEFAULT_PAGE_SIZE 4096
23
24
25 @interface ITVirtualMemoryInfo : NSObject {
26     vm_statistics_data_t stat;
27 }
28
29 - (id)init;
30 - (int)pageSize;
31 - (int)freePages;
32 - (int)activePages;
33 - (int)inactivePages;
34 - (int)wiredPages;
35 - (int)faults;
36 - (int)copyOnWritePages;
37 - (int)zeroFilledPages;
38 - (int)reactivatedPages;
39 - (int)pageins;
40 - (int)pageouts;
41 - (int)hits;
42 - (int)lookups;
43 - (int)hitratePercentage;
44
45 @end