X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5daf61af49b4b767433387330f7f7d21c63e4e59..19cd5a52131b50275fa26e0e53c4a8bd333f2937:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index e8fdacebc6..4bdbe144ed 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -88,16 +88,14 @@ public: void setState(simgrid::surf::Action::State state) override; int unref() override; void cancel() override; - void updateIndexHeap(int i); + void updateIndexHeap(int i) override; void suspend() override; void resume() override; void setMaxDuration(double duration) override; - void setPriority(double priority) override; + void setSharingWeight(double priority) override; double getRemains() override; CpuTi *cpu_; - int indexHeap_ = -1; - int suspended_ = 0; boost::intrusive::list_member_hook<> action_ti_hook; }; @@ -153,14 +151,6 @@ public: ActionList *runningActionSetThatDoesNotNeedBeingChecked_; CpuTiList *modifiedCpu_; xbt_heap_t tiActionHeap_; - -protected: - void NotifyResourceTurnedOn(simgrid::surf::Resource*){}; - void NotifyResourceTurnedOff(simgrid::surf::Resource*){}; - - void NotifyActionCancel(Action*){}; - void NotifyActionResume(Action*){}; - void NotifyActionSuspend(Action*){}; }; }