Skip to content

Commit

Permalink
#476 remove redundant printing of this_node
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Strzebonski committed May 26, 2022
1 parent 7bb729a commit b5ddf72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/vt/vrt/collection/manager.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1906,11 +1906,10 @@ MigrateStatus CollectionManager::migrateIn(
VirtualProxyType const& proxy, IndexT const& idx, NodeType const& from,
VirtualPtrType<IndexT> vrt_elm_ptr
) {
auto const this_node = theContext()->getNode();
vt_debug_print(
terse, vrt_coll,
"CollectionManager::migrateIn: proxy={:x}, idx={}, from={}, this_node={} ptr={}\n",
proxy, print_index(idx), from, this_node, print_ptr(vrt_elm_ptr.get())
"CollectionManager::migrateIn: proxy={:x}, idx={}, from={}, ptr={}\n",
proxy, print_index(idx), from, print_ptr(vrt_elm_ptr.get())
);

auto vc_raw_ptr = vrt_elm_ptr.get();
Expand All @@ -1920,6 +1919,8 @@ MigrateStatus CollectionManager::migrateIn(
*/
vc_raw_ptr->preMigrateIn();

auto const& this_node = theContext()->getNode();

// Always update the element ID struct for LB statistic tracking
vrt_elm_ptr->elm_id_.curr_node = this_node;

Expand Down
5 changes: 2 additions & 3 deletions src/vt/vrt/collection/migrate/migrate_handlers.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,11 @@ template <typename ColT, typename IndexT>
auto const& col_proxy = full_proxy.getCollectionProxy();
auto const& elm_proxy = full_proxy.getElementProxy();
auto const& idx = elm_proxy.getIndex();
auto const this_node = theContext()->getNode();

vt_debug_print(
terse, vrt_coll,
"migrateInHandler: from_node={}, this_node={}, idx={}\n",
from_node, this_node, idx
"migrateInHandler: from_node={}, idx={}\n",
from_node, idx
);

auto vc_elm_ptr = std::unique_ptr<ColT>(msg->elm_);
Expand Down

0 comments on commit b5ddf72

Please sign in to comment.