X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7630a950a6b865fcc195c58e39e6c3cfa550ccb..03d87ef83eada5a3cf9aacce9e6a5dc0d169aaa3:/src/surf/vm_hl13.hpp diff --git a/src/surf/vm_hl13.hpp b/src/surf/vm_hl13.hpp index df67e4f544..7b66c2a01a 100644 --- a/src/surf/vm_hl13.hpp +++ b/src/surf/vm_hl13.hpp @@ -34,13 +34,8 @@ public: ~VMHL13Model(){}; VirtualMachine *createVM(const char *name, sg_host_t host_PM) override; - double shareResources(double now); + double next_occuring_event(double now) override; void adjustWeightOfDummyCpuActions() override {}; - Action *executeParallelTask(int host_nb, - sg_host_t *host_list, - double *flops_amount, - double *bytes_amount, - double rate) override; void updateActionsState(double /*now*/, double /*delta*/) override; }; @@ -51,7 +46,7 @@ public: class VMHL13 : public VirtualMachine { public: VMHL13(VMModel *model, const char* name, xbt_dict_t props, sg_host_t host_PM); - ~VMHL13(); + ~VMHL13() {} void suspend() override; void resume() override; @@ -61,15 +56,8 @@ public: void migrate(sg_host_t ind_dst_pm) override; - e_surf_resource_state_t getState() override; - void setState(e_surf_resource_state_t state) override; - - void setBound(double bound); - void setAffinity(Cpu *cpu, unsigned long mask); - - //FIXME: remove - void updateState(tmgr_trace_event_t event_type, double value, double date); - bool isUsed(); + void setBound(double bound) override; + void setAffinity(Cpu *cpu, unsigned long mask) override; }; /**********