]>
Commit | Line | Data |
---|---|---|
1 | <h2>kernel_resource_sizes</h2> | |
2 | <hr> | |
3 | <p> | |
4 | <strong>Structure</strong> - Used to present the sizes of kernel's major structures. | |
5 | <h3>SYNOPSIS</h3> | |
6 | <pre> | |
7 | <strong>struct kernel_resource_sizes</strong> | |
8 | <strong>{</strong> | |
9 | <strong>vm_size_t</strong> <var>task</var><strong>;</strong> | |
10 | <strong>vm_size_t</strong> <var>thread</var><strong>;</strong> | |
11 | <strong>vm_size_t</strong> <var>port</var><strong>;</strong> | |
12 | <strong>vm_size_t</strong> <var>memory_region</var><strong>;</strong> | |
13 | <strong>vm_size_t</strong> <var>memory_object</var><strong>;</strong> | |
14 | <strong>};</strong> | |
15 | ||
16 | <strong>typedef struct kernel_resource_sizes* kernel_resource_sizes_t;</strong> | |
17 | </pre> | |
18 | <h3>FIELDS</h3> | |
19 | <dl> | |
20 | <dt> <var>task</var> | |
21 | <dd> | |
22 | Space consumed by an empty task. | |
23 | <p> | |
24 | <dt> <var>thread</var> | |
25 | <dd> | |
26 | Space consumed by a thread. | |
27 | <p> | |
28 | <dt> <var>port</var> | |
29 | <dd> | |
30 | Space consumed by a port with an empty message queue. | |
31 | <p> | |
32 | <dt> <var>memory_region</var> | |
33 | <dd> | |
34 | Space consumed by each distinct memory region (as reported by | |
35 | <strong>vm_region</strong>) in a task's address space. | |
36 | <p> | |
37 | <dt> <var>memory_object</var> | |
38 | <dd> | |
39 | Space consumed to manage a memory object with no resident pages or | |
40 | copy objects. | |
41 | </dl> | |
42 | <h3>DESCRIPTION</h3> | |
43 | <p> | |
44 | The <strong>kernel_resource_sizes</strong> structure defines the sizes | |
45 | of significant kernel | |
46 | structures. | |
47 | <h3>RELATED INFORMATION</h3> | |
48 | <p> | |
49 | Functions: | |
50 | <a href="host_info.html"><strong>host_info</strong></a>. |