]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/kernel_resource_sizes.html
xnu-1504.15.3.tar.gz
[apple/xnu.git] / osfmk / man / kernel_resource_sizes.html
CommitLineData
13fec989
A
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>
22Space consumed by an empty task.
23<p>
24<dt> <var>thread</var>
25<dd>
26Space consumed by a thread.
27<p>
28<dt> <var>port</var>
29<dd>
30Space consumed by a port with an empty message queue.
31<p>
32<dt> <var>memory_region</var>
33<dd>
34Space 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>
39Space consumed to manage a memory object with no resident pages or
40copy objects.
41</dl>
42<h3>DESCRIPTION</h3>
43<p>
44The <strong>kernel_resource_sizes</strong> structure defines the sizes
45of significant kernel
46structures.
47<h3>RELATED INFORMATION</h3>
48<p>
49Functions:
50<a href="host_info.html"><strong>host_info</strong></a>.