17 #ifndef SC_HYPERVISOR_CONFIG_H
18 #define SC_HYPERVISOR_CONFIG_H
38 #define SC_HYPERVISOR_MAX_IDLE -1
40 #define SC_HYPERVISOR_MIN_WORKING -2
49 #define SC_HYPERVISOR_PRIORITY -3
57 #define SC_HYPERVISOR_MIN_WORKERS -4
65 #define SC_HYPERVISOR_MAX_WORKERS -5
75 #define SC_HYPERVISOR_GRANULARITY -6
83 #define SC_HYPERVISOR_FIXED_WORKERS -7
93 #define SC_HYPERVISOR_MIN_TASKS -8
101 #define SC_HYPERVISOR_NEW_WORKERS_MAX_IDLE -9
109 #define SC_HYPERVISOR_TIME_TO_APPLY -10
115 #define SC_HYPERVISOR_NULL -11
122 #define SC_HYPERVISOR_ISPEED_W_SAMPLE -12
129 #define SC_HYPERVISOR_ISPEED_CTX_SAMPLE -13
131 #define SC_HYPERVISOR_TIME_SAMPLE -14
133 #define MAX_IDLE_TIME 5000000000
134 #define MIN_WORKING_TIME 500
void sc_hypervisor_ctl(unsigned sched_ctx,...)
void sc_hypervisor_set_config(unsigned sched_ctx, void *config)
struct sc_hypervisor_policy_config * sc_hypervisor_get_config(unsigned sched_ctx)
#define STARPU_NMAXWORKERS
Definition: starpu_config.h:284
double max_idle[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:168
double time_sample
Definition: sc_hypervisor_config.h:205
double new_workers_max_idle
Definition: sc_hypervisor_config.h:187
double ispeed_ctx_sample
Definition: sc_hypervisor_config.h:199
int priority[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:161
int granularity
Definition: sc_hypervisor_config.h:154
int max_nworkers
Definition: sc_hypervisor_config.h:149
int min_nworkers
Definition: sc_hypervisor_config.h:144
int fixed_workers[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:180
double ispeed_w_sample[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:193
double min_working[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:174
Definition: sc_hypervisor_config.h:140