]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/kernel_resource_sizes.html
xnu-792.6.70.tar.gz
[apple/xnu.git] / osfmk / man / kernel_resource_sizes.html
CommitLineData
9bccf70c 1<h2>kernel_resource_sizes</h2>\r<hr>\r<p>\r<strong>Structure</strong> - Used to present the sizes of kernel's major structures.\r<h3>SYNOPSIS</h3>\r<pre>\r<strong>struct kernel_resource_sizes</strong>\r<strong>{</strong>\r <strong>vm_size_t</strong> <var>task</var><strong>;</strong>\r <strong>vm_size_t</strong> <var>thread</var><strong>;</strong>\r <strong>vm_size_t</strong> <var>port</var><strong>;</strong>\r <strong>vm_size_t</strong> <var>memory_region</var><strong>;</strong>\r <strong>vm_size_t</strong> <var>memory_object</var><strong>;</strong>\r<strong>};</strong>\r\r<strong>typedef struct kernel_resource_sizes* kernel_resource_sizes_t;</strong>\r</pre>\r<h3>FIELDS</h3>\r<dl>\r<dt> <var>task</var>\r<dd>\rSpace consumed by an empty task.\r<p>\r<dt> <var>thread</var>\r<dd>\rSpace consumed by a thread.\r<p>\r<dt> <var>port</var>\r<dd>\rSpace consumed by a port with an empty message queue.\r<p>\r<dt> <var>memory_region</var>\r<dd>\rSpace consumed by each distinct memory region (as reported by\r<strong>vm_region</strong>) in a task's address space.\r<p>\r<dt> <var>memory_object</var>\r<dd>\rSpace consumed to manage a memory object with no resident pages or \rcopy objects.\r</dl>\r<h3>DESCRIPTION</h3>\r<p>\rThe <strong>kernel_resource_sizes</strong> structure defines the sizes\rof significant kernel\rstructures.\r<h3>RELATED INFORMATION</h3>\r<p>\rFunctions:\r<a href="host_info.html"><strong>host_info</strong></a>.\r