X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e0412698e7573cf44491b46234b335bf400859e6..6270ece7967b322385bbff766ee5f882ba1ef2a2:/src/surf/host_ptask_L07.hpp diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 221edf36a1..86acc7d266 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -38,7 +38,7 @@ public: double shareResources(double now); void updateActionsState(double now, double delta); - Host *createHost(const char *name); + Host *createHost(const char *name,RoutingEdge *netElm, Cpu *cpu); Action *executeParallelTask(int host_nb, sg_host_t *host_list, double *flops_amount, @@ -138,7 +138,7 @@ public: void updateState(tmgr_trace_event_t event_type, double value, double date); double getBandwidth(); double getLatency(); - bool isShared(); + int sharingPolicy(); void updateBandwidth(double value, double date=surf_get_clock()); void updateLatency(double value, double date=surf_get_clock());