]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kperf/thread_samplers.h
xnu-4903.241.1.tar.gz
[apple/xnu.git] / osfmk / kperf / thread_samplers.h
index 38195a62949c886dad973182f1cbd136461d672f..f443be7dd03ea886e66305f4b61750b48688d363 100644 (file)
@@ -47,13 +47,17 @@ void kperf_thread_info_log(struct kperf_thread_info *);
 struct kperf_thread_scheduling {
        uint64_t kpthsc_user_time;
        uint64_t kpthsc_system_time;
+       uint64_t kpthsc_runnable_time;
        unsigned int kpthsc_state;
        uint16_t kpthsc_base_priority;
        uint16_t kpthsc_sched_priority;
-       unsigned int kpthsc_effective_qos : 3;
-       unsigned int kpthsc_requested_qos : 3;
-       unsigned int kpthsc_requested_qos_override : 3;
-       unsigned int kpthsc_effective_latency_qos : 3;
+       unsigned int kpthsc_effective_qos :3,
+                       kpthsc_requested_qos :3,
+                       kpthsc_requested_qos_override :3,
+                       kpthsc_requested_qos_promote :3,
+                       kpthsc_requested_qos_ipc_override :3,
+                       kpthsc_requested_qos_sync_ipc_override :3,
+                       kpthsc_effective_latency_qos :3;
 };
 
 void kperf_thread_scheduling_sample(struct kperf_thread_scheduling *,
@@ -82,4 +86,6 @@ void kperf_thread_dispatch_sample(struct kperf_thread_dispatch *,
 int kperf_thread_dispatch_pend(struct kperf_context *);
 void kperf_thread_dispatch_log(struct kperf_thread_dispatch *);
 
+void kperf_thread_inscyc_log(struct kperf_context *);
+
 #endif /* !defined(KPERF_THREAD_SAMPLERS_H) */