sched_ctx_hypervisor.h 1.0 KB

12345678910111213141516171819202122232425
  1. #include <starpu.h>
  2. struct starpu_sched_ctx_hypervisor_criteria* sched_ctx_hypervisor_init(void);
  3. void sched_ctx_hypervisor_shutdown(void);
  4. void sched_ctx_hypervisor_handle_ctx(unsigned sched_ctx);
  5. void sched_ctx_hypervisor_ignore_ctx(unsigned sched_ctx);
  6. void sched_ctx_hypervisor_set_resize_interval(unsigned sched_ctx, unsigned min_nprocs, unsigned max_nprocs);
  7. void sched_ctx_hypervisor_set_resize_granularity(unsigned sched_ctx, unsigned granluarity);
  8. void sched_ctx_hypervisor_set_idle_max_value(unsigned sched_ctx, int max_idle_value, int *workers, int nworkers);
  9. void sched_ctx_hypervisor_set_work_min_value(unsigned sched_ctx, int min_working_value, int *workers, int nworkers);
  10. void sched_ctx_hypervisor_increase_priority(unsigned sched_ctx, int priority_step, int *workers, int nworkers);
  11. void sched_ctx_hypervisor_update_current_idle_time(unsigned sched_ctx, int worker, double idle_time, unsigned current_nprocs);
  12. void sched_ctx_hypervisor_update_current_working_time(unsigned sched_ctx, int worker, double working_time, unsigned current_nprocs);