IOInterruptHandler handler,
void *refCon);
-void ml_get_timebase(unsigned long long *timestamp);
+void ml_entropy_collect(void);
+
+uint64_t ml_get_timebase();
void ml_init_lock_timeout(void);
void ml_init_delay_spin_threshold(int);
void bzero_phys_nc(
addr64_t phys_address,
uint32_t length);
-#define NUM_LATENCY_QOS_TIERS (6)
-typedef struct {
- int32_t timer_coalesce_rt_shift;
- int32_t timer_coalesce_bg_shift;
- int32_t timer_coalesce_kt_shift;
- int32_t timer_coalesce_fp_shift;
- int32_t timer_coalesce_ts_shift;
-
- uint64_t timer_coalesce_rt_ns_max;
- uint64_t timer_coalesce_bg_ns_max;
- uint64_t timer_coalesce_kt_ns_max;
- uint64_t timer_coalesce_fp_ns_max;
- uint64_t timer_coalesce_ts_ns_max;
-
- uint32_t latency_qos_scale[NUM_LATENCY_QOS_TIERS];
- uint64_t latency_qos_ns_max[NUM_LATENCY_QOS_TIERS];
- boolean_t latency_tier_rate_limited[NUM_LATENCY_QOS_TIERS];
-} timer_coalescing_priority_params_t;
-extern timer_coalescing_priority_params_t tcoal_prio_params;
extern uint32_t interrupt_timer_coalescing_enabled;
extern uint32_t idle_entry_timer_processing_hdeadline_threshold;
void timer_queue_expire_rescan(void*);
void ml_timer_evaluate(void);
boolean_t ml_timer_forced_evaluation(void);
-int ml_timer_get_user_idle_level(void);
-kern_return_t ml_timer_set_user_idle_level(int);
+void ml_gpu_stat_update(uint64_t);
+uint64_t ml_gpu_stat(thread_t);
boolean_t ml_recent_wake(void);
#endif /* XNU_KERNEL_PRIVATE */
#endif /* _I386_MACHINE_ROUTINES_H_ */