From f7c1611a77ef3c11dba931257480d0a7d5a130c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cezary=20Skrzy=C5=84ski?= Date: Tue, 6 Dec 2022 01:30:45 +0100 Subject: [PATCH] #1659: lb: use more general language --- .../vrt/collection/balance/lb_invoke/lb_manager.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc b/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc index cc70e21335..f7839eb909 100644 --- a/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc +++ b/src/vt/vrt/collection/balance/lb_invoke/lb_manager.cc @@ -665,21 +665,21 @@ void LBManager::computeStatistics( )); if (strategy_specific_model_) { - auto total_work_from_model = 0.; - std::vector obj_work_model; + auto rank_work_modeled = 0.; + std::vector obj_work_modeled; for (auto elm : *strategy_specific_model_) { auto work = strategy_specific_model_->getModeledLoad(elm, when); - obj_work_model.emplace_back( + obj_work_modeled.emplace_back( LoadData{lb::Statistic::Object_work_modeled, work} ); - total_work_from_model += work; + rank_work_modeled += work; } lstats.emplace_back( - LoadData{lb::Statistic::Rank_work_modeled, total_work_from_model} + LoadData{lb::Statistic::Rank_work_modeled, rank_work_modeled} ); lstats.emplace_back(reduceVec( - lb::Statistic::Object_work_modeled, std::move(obj_work_model) + lb::Statistic::Object_work_modeled, std::move(obj_work_modeled) )); }