Go to the documentation of this file.
18 #ifndef SC_HYPERVISOR_CONFIG_H
19 #define SC_HYPERVISOR_CONFIG_H
40 #define SC_HYPERVISOR_MAX_IDLE -1
42 #define SC_HYPERVISOR_MIN_WORKING -2
51 #define SC_HYPERVISOR_PRIORITY -3
59 #define SC_HYPERVISOR_MIN_WORKERS -4
67 #define SC_HYPERVISOR_MAX_WORKERS -5
77 #define SC_HYPERVISOR_GRANULARITY -6
85 #define SC_HYPERVISOR_FIXED_WORKERS -7
95 #define SC_HYPERVISOR_MIN_TASKS -8
103 #define SC_HYPERVISOR_NEW_WORKERS_MAX_IDLE -9
111 #define SC_HYPERVISOR_TIME_TO_APPLY -10
117 #define SC_HYPERVISOR_NULL -11
124 #define SC_HYPERVISOR_ISPEED_W_SAMPLE -12
131 #define SC_HYPERVISOR_ISPEED_CTX_SAMPLE -13
133 #define SC_HYPERVISOR_TIME_SAMPLE -14
135 #define MAX_IDLE_TIME 5000000000
136 #define MIN_WORKING_TIME 500
void sc_hypervisor_set_config(unsigned sched_ctx, void *config)
struct sc_hypervisor_policy_config * sc_hypervisor_get_config(unsigned sched_ctx)
double max_idle[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:170
int max_nworkers
Definition: sc_hypervisor_config.h:151
void sc_hypervisor_ctl(unsigned sched_ctx,...)
#define STARPU_NMAXWORKERS
Definition: starpu_config.h:115
double min_working[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:176
int fixed_workers[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:182
double ispeed_ctx_sample
Definition: sc_hypervisor_config.h:201
int min_nworkers
Definition: sc_hypervisor_config.h:146
double ispeed_w_sample[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:195
double time_sample
Definition: sc_hypervisor_config.h:207
double new_workers_max_idle
Definition: sc_hypervisor_config.h:189
int priority[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:163
int granularity
Definition: sc_hypervisor_config.h:156
Definition: sc_hypervisor_config.h:141