X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/83ff63f9a846dd01995a4bbb8979d2fa909ed34b..dc4066f005c4827b8169f71ea0c500b6dc311721:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index 7b2a76e966..779a350e58 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -43,8 +43,8 @@ public: e_surf_resource_state_t stateInitial, tmgr_trace_t stateTrace, xbt_dict_t properties) ; void updateState(tmgr_trace_event_t event_type, double value, double date); - CpuActionPtr execute(double size); - CpuActionPtr sleep(double duration); + ActionPtr execute(double size); + ActionPtr sleep(double duration); bool isUsed(); @@ -57,8 +57,6 @@ public: class CpuCas01ActionLmm: public CpuActionLmm { public: CpuCas01ActionLmm() {}; - CpuCas01ActionLmm(ModelPtr model, double cost, bool failed): CpuActionLmm(model, cost, failed) {}; - int unref() {return 0;};//TODO - void cancel() {};//TODO - void recycle() {};//TODO + CpuCas01ActionLmm(ModelPtr model, double cost, bool failed): Action(model, cost, failed), CpuActionLmm(model, cost, failed) {}; + };