Dump memory usage stats after partitioning.

This commit is contained in:
Daniel Patterson
2017-02-06 05:52:52 -08:00
committed by Patrick Niklaus
parent b789da45bd
commit b62b09e5f6
8 changed files with 37 additions and 14 deletions
-1
View File
@@ -147,7 +147,6 @@ BOOST_AUTO_TEST_CASE(access_edges)
BOOST_CHECK(std::abs(static_cast<int>(to_col(graph.GetID(node))) -
static_cast<int>(to_col(itr.target))) <= 1);
}
}
}
+2 -2
View File
@@ -94,12 +94,12 @@ BOOST_AUTO_TEST_CASE(separate_top_bottom_copy)
BOOST_CHECK(id < left.NumberOfNodes());
BOOST_CHECK_EQUAL(bisection_state.GetBisectionID(node.original_id), 0);
for( const auto & edge : left.Edges(id) )
for (const auto &edge : left.Edges(id))
BOOST_CHECK(edge.target < left.NumberOfNodes());
}
BOOST_CHECK_EQUAL(right.NumberOfNodes(), 4);
for( NodeID id = 0; id < right.NumberOfNodes(); ++id )
for (NodeID id = 0; id < right.NumberOfNodes(); ++id)
{
const auto &node = right.Node(id);
BOOST_CHECK_EQUAL(bisection_state.GetBisectionID(node.original_id), 1);