1 // Copyright (c) 2023 Apple Inc. All rights reserved. 2 3 #pragma once 4 5 /* Base harness interface */ 6 #include "sched_runqueue_harness.h" 7 8 #include <sys/types.h> 9 #include <kern/sched.h> 10 11 extern int root_bucket_to_highest_pri[TH_BUCKET_SCHED_MAX]; 12 13 /* Publish Clutch implementation-specific paramemeters for use in unit tests */ 14 extern uint64_t clutch_root_bucket_wcel_us[TH_BUCKET_SCHED_MAX]; 15 extern uint64_t clutch_root_bucket_warp_us[TH_BUCKET_SCHED_MAX]; 16 extern int clutch_interactivity_score_max; 17 18 /* Clutch/Edge trace codes */ 19 extern unsigned int CLUTCH_THREAD_SELECT; 20