From 1c582faea2fb3d03bddbc005ad653e1fa1519616 Mon Sep 17 00:00:00 2001 From: Nicole Lemaster Slattengren Date: Tue, 3 Nov 2020 13:51:09 -0800 Subject: [PATCH] #1122: collection: remove deprecated code --- src/vt/vrt/collection/balance/elm_stats.cc | 11 ----------- src/vt/vrt/collection/balance/elm_stats.h | 1 - 2 files changed, 12 deletions(-) diff --git a/src/vt/vrt/collection/balance/elm_stats.cc b/src/vt/vrt/collection/balance/elm_stats.cc index e6691688c2..96b833ae57 100644 --- a/src/vt/vrt/collection/balance/elm_stats.cc +++ b/src/vt/vrt/collection/balance/elm_stats.cc @@ -113,17 +113,6 @@ void ElementStats::recvToNode( recvComm(key, bytes); } -void ElementStats::setModelWeight(TimeType const& time) { - cur_time_started_ = false; - addTime(time); - - vt_debug_print( - lb, node, - "ElementStats: setModelWeight: time={}, cur_load={}\n", - time, phase_timings_.at(cur_phase_) - ); -} - void ElementStats::addTime(TimeType const& time) { phase_timings_.resize(cur_phase_ + 1); phase_timings_.at(cur_phase_) += time; diff --git a/src/vt/vrt/collection/balance/elm_stats.h b/src/vt/vrt/collection/balance/elm_stats.h index bd13857cb2..c246836a77 100644 --- a/src/vt/vrt/collection/balance/elm_stats.h +++ b/src/vt/vrt/collection/balance/elm_stats.h @@ -82,7 +82,6 @@ struct ElementStats { NodeType to, ElementIDType from_perm, ElementIDType from_temp, double bytes, bool bcast ); - void setModelWeight(TimeType const& time); void updatePhase(PhaseType const& inc = 1); PhaseType getPhase() const; TimeType getLoad(PhaseType const& phase) const;