Переглянути джерело

sched_ctx_hypervisor/src: add missing include

Nathalie Furmento 12 роки тому
батько
коміт
d77a611c04

+ 1 - 0
sched_ctx_hypervisor/src/hypervisor_policies/debit_lp_policy.c

@@ -17,6 +17,7 @@
 #include <starpu_config.h>
 #include "lp_tools.h"
 #include <math.h>
+#include <sys/time.h>
 
 static double _glp_resolve(int ns, int nw, double velocity[ns][nw], double w_in_s[ns][nw], int *workers, unsigned integer);
 

+ 1 - 0
sched_ctx_hypervisor/src/hypervisor_policies/ispeed_lp_policy.c

@@ -17,6 +17,7 @@
 #include <starpu_config.h>
 #include "lp_tools.h"
 #include <math.h>
+#include <sys/time.h>
 
 static double _glp_resolve(int ns, int nw, double velocity[ns][nw], double flops[ns], double tmax, double flops_on_w[ns][nw], double w_in_s[ns][nw], int *workers, unsigned integer);
 

+ 1 - 0
sched_ctx_hypervisor/src/hypervisor_policies/lp2_policy.c

@@ -17,6 +17,7 @@
 #include <starpu_config.h>
 #include "lp_tools.h"
 #include <math.h>
+#include <sys/time.h>
 
 static struct bound_task_pool *task_pools = NULL;
 

+ 1 - 1
sched_ctx_hypervisor/src/hypervisor_policies/lp_policy.c

@@ -16,7 +16,7 @@
 
 #include "lp_tools.h"
 #include <starpu_config.h>
-
+#include <sys/time.h>
 
 #ifdef STARPU_HAVE_GLPK_H
 static void lp_handle_poped_task(unsigned sched_ctx, int worker, struct starpu_task *task, uint32_t footprint)