osfmk/man/task_basic_info.html
Structure - Defines basic information for a task.
**struct task\_basic\_info**** { ****integer\_t** suspend\_count **;**** vm\_size\_t **virtual\_size** ; ****vm\_size\_t** resident\_size **;**** time\_value\_t **user\_time** ; ****time\_value\_t** system\_time **;**** policy\_t **policy** ; ****};**** typedef struct task\_basic\_info\* task\_basic\_info\_t;**
suspend_countThe current suspend count for the task.
virtual_sizeThe number of virtual pages for the task.
resident_sizeThe number of resident pages for the task
user_timeThe total user run time for terminated threads within the task.
system_timeThe total system run time for terminated threads within the task.
policyDefault scheduling policy to apply to new threads.
The task_basic_info structure defines the basic information array for tasks. The task_info function returns this array for a specified task.
This structure is machine word length sensitive due to the presence of the virtual address sizes.
Functions: task_info.
Data Structures: task_thread_times_info, policy_fifo_info, policy_rr_info, policy_timeshare_info.