X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7817355e1053db0ad176750462d290516dc993e3..6270ece7967b322385bbff766ee5f882ba1ef2a2:/src/surf/host_ptask_L07.hpp?ds=sidebyside diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 5264a8449f..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, @@ -98,11 +98,6 @@ public: Action *execute(double size) {return p_cpu->execute(size);}; Action *sleep(double duration) {return p_cpu->sleep(duration);}; e_surf_resource_state_t getState(); - double getPowerPeakAt(int pstate_index); - int getNbPstates(); - void setPstate(int pstate_index); - int getPstate(); - double getConsumedEnergy(); }; class CpuL07 : public Cpu { @@ -143,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());