From: Martin Quinson Date: Wed, 2 Dec 2015 21:06:51 +0000 (+0100) Subject: no need to override stuff to the exact same content X-Git-Tag: v3_13~1493 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/baad8bc11dd1034957d778db858a22df65bf64b9 no need to override stuff to the exact same content --- diff --git a/src/surf/host_ptask_L07.cpp b/src/surf/host_ptask_L07.cpp index 80427e6b74..b4434d5b6d 100644 --- a/src/surf/host_ptask_L07.cpp +++ b/src/surf/host_ptask_L07.cpp @@ -547,11 +547,6 @@ void LinkL07::updateBandwidth(double value, double date) lmm_update_constraint_bound(ptask_maxmin_system, getConstraint(), m_bwCurrent); } -double LinkL07::getLatency() -{ - return m_latCurrent; -} - void LinkL07::updateLatency(double value, double date) { lmm_variable_t var = NULL; diff --git a/src/surf/host_ptask_L07.hpp b/src/surf/host_ptask_L07.hpp index 2bdcb97708..a401b12a32 100644 --- a/src/surf/host_ptask_L07.hpp +++ b/src/surf/host_ptask_L07.hpp @@ -46,7 +46,6 @@ public: double rate); xbt_dynar_t getRoute(Host *src, Host *dst); void addTraces(); - NetworkModel *p_networkModel; }; class CpuL07Model : public CpuModel { @@ -137,12 +136,9 @@ public: bool isUsed(); void updateState(tmgr_trace_event_t event_type, double value, double date); double getBandwidth(); - double getLatency(); void updateBandwidth(double value, double date=surf_get_clock()); void updateLatency(double value, double date=surf_get_clock()); - double m_latCurrent; - tmgr_trace_event_t p_latEvent; double m_bwCurrent; tmgr_trace_event_t p_bwEvent; };