Skip to content

Commit

Permalink
#1596: elm: fix some rebase problems
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Dec 16, 2021
1 parent 0ce2bf1 commit b5b209d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/lb_common.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void applyReassignment(const std::shared_ptr<const balance::Reassignment> &reass
vt_debug_print(
normal, lb,
"migrateObjectTo, obj_id={}, home={}, from={}, to={}\n",
obj_id.id, obj_id.home_node, from, to
obj_id.id, obj_id.getHomeNode(), from, to
);

theNodeStats()->migrateObjTo(obj_id, to);
Expand Down
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/stats_data.cc
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ StatsData::StatsData(nlohmann::json const& j) {
vtAssertExpr(object.is_number());

auto elm = ElementIDStruct{object, node};
this->node_data_[id][elm] = time;
this->node_data_[id][elm].whole_phase_load = time;

if (
task["entity"].find("collection_id") != task["entity"].end() and
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lb/test_lb_stats_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ TEST_F(TestLBStatsReader, test_lb_stats_read_1) {
auto permID = elm::ElmIDBits::createCollectionImpl(
true, elmID+1, in, in
);
sd->node_data_[phase][permID] = tval;
sd->node_data_[phase][permID].whole_phase_load = tval;
}
}
}
Expand Down

0 comments on commit b5b209d

Please sign in to comment.