X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/09a63025cb84856ac04d8452e30634759a05f4d9..7b02515baed02f4f6b8808eb16b0e0175eb53395:/src/surf/cpu_interface.hpp diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 101359fa84..c72e0f5a40 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -216,7 +216,7 @@ public: /** * @brief CpuAction constructor */ - CpuAction(): m_bound(0) {}; + CpuAction() {}; /** * @brief CpuAction constructor @@ -226,7 +226,7 @@ public: * @param failed [TODO] */ CpuAction(ModelPtr model, double cost, bool failed) - : Action(model, cost, failed), m_bound(0) {} //FIXME:REMOVE + : Action(model, cost, failed) {} //FIXME:REMOVE /** * @brief CpuAction constructor @@ -237,7 +237,7 @@ public: * @param var The lmm variable associated to this CpuAction if it is part of a LMM component */ CpuAction(ModelPtr model, double cost, bool failed, lmm_variable_t var) - : Action(model, cost, failed, var), m_bound(0) {} + : Action(model, cost, failed, var) {} /** * @brief Set the affinity of the current CpuAction @@ -248,25 +248,10 @@ public: */ virtual void setAffinity(CpuPtr cpu, unsigned long mask); - /** - * @brief Set the bound of current CpuAction - * @details [TODO] - * - * @param bound [TODO] - */ - virtual void setBound(double bound); - - /** - * @brief Get the bound of the current CpuAction - * - * @return The bound of the current CpuAction - */ - double getBound() { return m_bound; } - void setState(e_surf_action_state_t state); void updateRemainingLazy(double now); - double m_bound; /*< the capping of the CPU use */ + }; #endif /* SURF_CPU_INTERFACE_HPP_ */