1 /******************************************************************************
2 * Generic scheduler control interface.
4 * Mark Williamson, (C) 2004 Intel Research Cambridge
7 #ifndef __XEN_PUBLIC_SCHED_CTL_H__
8 #define __XEN_PUBLIC_SCHED_CTL_H__
10 /* Scheduler types. */
13 #define SCHED_CREDIT 5
15 /* Set or get info? */
16 #define SCHED_INFO_PUT 0
17 #define SCHED_INFO_GET 1
20 * Generic scheduler control command - used to adjust system-wide scheduler
23 struct sched_ctl_cmd {
33 struct sched_adjdom_cmd {
39 uint32_t mcu_adv; /* mcu advance: inverse of weight */
40 uint32_t warpback; /* warp? */
41 int32_t warpvalue; /* warp value */
42 int64_t warpl; /* warp limit */
43 int64_t warpu; /* unwarp time requirement */
52 struct sched_credit_adjdom {
59 #endif /* __XEN_PUBLIC_SCHED_CTL_H__ */
67 * indent-tabs-mode: nil