-struct proc_taskinfo_internal {
- uint64_t pti_virtual_size; /* virtual memory size (bytes) */
- uint64_t pti_resident_size; /* resident memory size (bytes) */
- uint64_t pti_total_user; /* total time */
- uint64_t pti_total_system;
- uint64_t pti_threads_user; /* existing threads only */
- uint64_t pti_threads_system;
- int32_t pti_policy; /* default policy for new threads */
- int32_t pti_faults; /* number of page faults */
- int32_t pti_pageins; /* number of actual pageins */
- int32_t pti_cow_faults; /* number of copy-on-write faults */
- int32_t pti_messages_sent; /* number of messages sent */
- int32_t pti_messages_received; /* number of messages received */
- int32_t pti_syscalls_mach; /* number of mach system calls */
- int32_t pti_syscalls_unix; /* number of unix system calls */
- int32_t pti_csw; /* number of context switches */
- int32_t pti_threadnum; /* number of threads in the task */
- int32_t pti_numrunning; /* number of running threads */
+#include <vm/vm_map.h>
+
+struct proc_taskinfo_internal {
+ uint64_t pti_virtual_size; /* virtual memory size (bytes) */
+ uint64_t pti_resident_size; /* resident memory size (bytes) */
+ uint64_t pti_total_user; /* total time */
+ uint64_t pti_total_system;
+ uint64_t pti_threads_user; /* existing threads only */
+ uint64_t pti_threads_system;
+ int32_t pti_policy; /* default policy for new threads */
+ int32_t pti_faults; /* number of page faults */
+ int32_t pti_pageins; /* number of actual pageins */
+ int32_t pti_cow_faults; /* number of copy-on-write faults */
+ int32_t pti_messages_sent; /* number of messages sent */
+ int32_t pti_messages_received; /* number of messages received */
+ int32_t pti_syscalls_mach; /* number of mach system calls */
+ int32_t pti_syscalls_unix; /* number of unix system calls */
+ int32_t pti_csw; /* number of context switches */
+ int32_t pti_threadnum; /* number of threads in the task */
+ int32_t pti_numrunning; /* number of running threads */