osfmk/man/kernel_resource_sizes.html
Structure - Used to present the sizes of kernel's major structures.
**struct kernel\_resource\_sizes**** { ****vm\_size\_t** task **;**** vm\_size\_t **thread** ; ****vm\_size\_t** port **;**** vm\_size\_t **memory\_region** ; ****vm\_size\_t** memory\_object **;**** }; ****typedef struct kernel\_resource\_sizes\* kernel\_resource\_sizes\_t;**
taskSpace consumed by an empty task.
threadSpace consumed by a thread.
portSpace consumed by a port with an empty message queue.
memory_regionSpace consumed by each distinct memory region (as reported by vm_region ) in a task's address space.
memory_objectSpace consumed to manage a memory object with no resident pages or copy objects.
The kernel_resource_sizes structure defines the sizes of significant kernel structures.
Functions: host_info.