From: Martin Quinson Date: Sat, 30 Jan 2016 17:45:52 +0000 (+0100) Subject: These methods are overriden to the same content too X-Git-Tag: v3_13~1039 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f9dd39e26289f9ba2d4ef96fbbed1709bff22043?ds=inline These methods are overriden to the same content too --- diff --git a/src/surf/host_ptask_L07.cpp b/src/surf/host_ptask_L07.cpp index 7e467446de..e3a93e4eae 100644 --- a/src/surf/host_ptask_L07.cpp +++ b/src/surf/host_ptask_L07.cpp @@ -617,32 +617,5 @@ int L07Action::unref() return 0; } -void L07Action::suspend() -{ - XBT_IN("(%p))", this); - if (m_suspended != 2) { - m_suspended = 1; - lmm_update_variable_weight(getModel()->getMaxminSystem(), getVariable(), 0.0); - } - XBT_OUT(); -} - -void L07Action::resume() -{ - XBT_IN("(%p)", this); - if (m_suspended != 2) { - lmm_update_variable_weight(getModel()->getMaxminSystem(), getVariable(), 1.0); - m_suspended = 0; - } - XBT_OUT(); -} - -double L07Action::getRemains() -{ - XBT_IN("(%p)", this); - XBT_OUT(); - return m_remains; -} - } } diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 079058dcfc..3754b67fac 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -152,9 +152,6 @@ public: void updateBound(); int unref() override; - void suspend() override; - void resume() override; - double getRemains() override; std::vector * p_netcardList = new std::vector(); double *p_computationAmount;