Back to Darwin Xnu

Kernel Resource Sizes

osfmk/man/kernel_resource_sizes.html

latest954 B
Original Source

kernel_resource_sizes


Structure - Used to present the sizes of kernel's major structures.

SYNOPSIS

**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;**

FIELDS

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.

DESCRIPTION

The kernel_resource_sizes structure defines the sizes of significant kernel structures.

Functions: host_info.