#include <mach/task_info.h>

mach/task_info.h Kernel.framework

Machine-independent task information structures and definitions. The definitions in this file are exported to the user. The kernel will translate its internal data structures to these structures as appropriate.
includes: mach/message.h, Kernel/mach/machine/vm_types.h, Kernel/mach/time_value.h, Kernel/mach/policy.h, mach/vm_statistics.h, Availability.h, sys/cdefs.h
2 macros · 1 struct

structtask_basic_info_64

Don't use this, use MACH_TASK_BASIC_INFO instead
size 32, align 4
integer_tsuspend_countsuspend count for task
natural_tvirtual_sizeCompatibility with old 32-bit mach_vm_size_t virtual memory size (bytes)
natural_tresident_sizeresident memory size (bytes)
time_value_tuser_timetotal user run time for terminated threads
time_value_tsystem_timetotal system run time for terminated threads
policy_tpolicydefault policy for new threads

macroTASK_BASIC_INFO_64

#define TASK_BASIC_INFO_64 5

macroTASK_BASIC_INFO_64_COUNT

#define TASK_BASIC_INFO_64_COUNT (sizeof(task_basic_info_64_data_t) / sizeof(natural_t))