17 #ifndef SC_HYPERVISOR_CONFIG_H 18 #define SC_HYPERVISOR_CONFIG_H 39 #define SC_HYPERVISOR_MAX_IDLE -1 41 #define SC_HYPERVISOR_MIN_WORKING -2 50 #define SC_HYPERVISOR_PRIORITY -3 58 #define SC_HYPERVISOR_MIN_WORKERS -4 66 #define SC_HYPERVISOR_MAX_WORKERS -5 76 #define SC_HYPERVISOR_GRANULARITY -6 84 #define SC_HYPERVISOR_FIXED_WORKERS -7 94 #define SC_HYPERVISOR_MIN_TASKS -8 102 #define SC_HYPERVISOR_NEW_WORKERS_MAX_IDLE -9 110 #define SC_HYPERVISOR_TIME_TO_APPLY -10 116 #define SC_HYPERVISOR_NULL -11 123 #define SC_HYPERVISOR_ISPEED_W_SAMPLE -12 130 #define SC_HYPERVISOR_ISPEED_CTX_SAMPLE -13 132 #define SC_HYPERVISOR_TIME_SAMPLE -14 134 #define MAX_IDLE_TIME 5000000000 135 #define MIN_WORKING_TIME 500 double time_sample
Definition: sc_hypervisor_config.h:206
int granularity
Definition: sc_hypervisor_config.h:155
int fixed_workers[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:181
int min_nworkers
Definition: sc_hypervisor_config.h:145
double min_working[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:175
int priority[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:162
double ispeed_w_sample[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:194
struct sc_hypervisor_policy_config * sc_hypervisor_get_config(unsigned sched_ctx)
#define STARPU_NMAXWORKERS
Definition: starpu_config.h:236
double ispeed_ctx_sample
Definition: sc_hypervisor_config.h:200
int max_nworkers
Definition: sc_hypervisor_config.h:150
double new_workers_max_idle
Definition: sc_hypervisor_config.h:188
Definition: sc_hypervisor_config.h:140
void sc_hypervisor_set_config(unsigned sched_ctx, void *config)
void sc_hypervisor_ctl(unsigned sched_ctx,...)
double max_idle[STARPU_NMAXWORKERS]
Definition: sc_hypervisor_config.h:169