|
|
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: subsystem
20: #if KERNEL_SERVER
21: KernelServer
22: #endif /* KERNEL_SERVER */
23: #if KERNEL_USER
24: KernelUser
25: #endif /* KERNEL_USER */
26: gnumach 4200;
27:
28: #include <mach/std_types.defs>
29: #include <mach/mach_types.defs>
30:
31: type vm_cache_statistics_data_t = struct[11] of integer_t;
32:
33: /*
34: * Return page cache statistics for the host on which the target task
35: * resides.
36: */
37: routine vm_cache_statistics(
38: target_task : vm_task_t;
39: out vm_cache_stats : vm_cache_statistics_data_t);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.