X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/316670eb35587141e969394ae8537d66b9211e80..bd504ef0e0b883cdd7917b73b3574eb9ce669905:/osfmk/kern/task.h diff --git a/osfmk/kern/task.h b/osfmk/kern/task.h index 7d2c981ce..9b6e4a1f6 100644 --- a/osfmk/kern/task.h +++ b/osfmk/kern/task.h @@ -362,6 +362,10 @@ struct task { vm_extmod_statistics_data_t extmod_statistics; natural_t proc_terminate; /* the process is marked for proc_terminate */ + + /* Statistics accumulated for terminated threads from this task */ + uint32_t task_timer_wakeups_bin_1; + uint32_t task_timer_wakeups_bin_2; }; #define task_lock(task) lck_mtx_lock(&(task)->lock) @@ -555,6 +559,8 @@ struct _task_ledger_indices { int tkm_shared; int phys_mem; int wired_mem; + int platform_idle_wakeups; + int interrupt_wakeups; }; extern struct _task_ledger_indices task_ledgers;