From c75a41a1a413ab672384938f0b0af64856f9e181 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 26 Dec 2018 00:34:57 +0100 Subject: [PATCH] WIP: fixed verbosity of some output. --- src/db/db/dbHierNetworkProcessor.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/db/db/dbHierNetworkProcessor.cc b/src/db/db/dbHierNetworkProcessor.cc index 2793eb707..22463d780 100644 --- a/src/db/db/dbHierNetworkProcessor.cc +++ b/src/db/db/dbHierNetworkProcessor.cc @@ -1152,7 +1152,7 @@ template void hier_clusters::do_build (cell_clusters_box_converter &cbc, const db::Layout &layout, const db::Cell &cell, db::ShapeIterator::flags_type shape_flags, const db::Connectivity &conn) { - tl::SelfTimer timer (tl::verbosity () >= 11, tl::to_string (tr ("Computing shape clusters"))); + tl::SelfTimer timer (tl::verbosity () >= 21, tl::to_string (tr ("Computing shape clusters"))); std::set called; cell.collect_called_cells (called); @@ -1161,7 +1161,7 @@ hier_clusters::do_build (cell_clusters_box_converter &cbc, const db::Layou // first build all local clusters { - tl::SelfTimer timer (tl::verbosity () >= 21, tl::to_string (tr ("Computing local shape clusters"))); + tl::SelfTimer timer (tl::verbosity () >= 31, tl::to_string (tr ("Computing local shape clusters"))); tl::RelativeProgress progress (tl::to_string (tr ("Computing local clusters")), called.size (), 1); for (std::set::const_iterator c = called.begin (); c != called.end (); ++c) { @@ -1173,7 +1173,7 @@ hier_clusters::do_build (cell_clusters_box_converter &cbc, const db::Layou // build the hierarchical connections bottom-up and for all cells whose children are computed already { - tl::SelfTimer timer (tl::verbosity () >= 21, tl::to_string (tr ("Computing hierarchical shape clusters"))); + tl::SelfTimer timer (tl::verbosity () >= 31, tl::to_string (tr ("Computing hierarchical shape clusters"))); tl::RelativeProgress progress (tl::to_string (tr ("Computing hierarchical clusters")), called.size (), 1); std::set done; @@ -1213,10 +1213,10 @@ void hier_clusters::build_local_cluster (const db::Layout &layout, const db::Cell &cell, db::ShapeIterator::flags_type shape_flags, const db::Connectivity &conn) { std::string msg = tl::to_string (tr ("Computing local clusters for cell: ")) + std::string (layout.cell_name (cell.cell_index ())); - if (tl::verbosity () >= 30) { + if (tl::verbosity () >= 40) { tl::log << msg; } - tl::SelfTimer (tl::verbosity () >= 31, msg); + tl::SelfTimer (tl::verbosity () >= 41, msg); connected_clusters &local = m_per_cell_clusters [cell.cell_index ()]; local.build_clusters (cell, shape_flags, conn); @@ -1236,10 +1236,10 @@ void hier_clusters::build_hier_connections (cell_clusters_box_converter &cbc, const db::Layout &layout, const db::Cell &cell, const db::Connectivity &conn) { std::string msg = tl::to_string (tr ("Computing hierarchical clusters for cell: ")) + std::string (layout.cell_name (cell.cell_index ())); - if (tl::verbosity () >= 30) { + if (tl::verbosity () >= 40) { tl::log << msg; } - tl::SelfTimer (tl::verbosity () >= 31, msg); + tl::SelfTimer (tl::verbosity () >= 41, msg); connected_clusters &local = m_per_cell_clusters [cell.cell_index ()]; @@ -1267,7 +1267,7 @@ hier_clusters::build_hier_connections (cell_clusters_box_converter &cbc, c // handle instance to instance connections { - tl::SelfTimer timer (tl::verbosity () >= 41, tl::to_string (tr ("Instance to instance treatment"))); + tl::SelfTimer timer (tl::verbosity () >= 51, tl::to_string (tr ("Instance to instance treatment"))); db::box_scanner bs; @@ -1281,7 +1281,7 @@ hier_clusters::build_hier_connections (cell_clusters_box_converter &cbc, c // handle local to instance connections { - tl::SelfTimer timer (tl::verbosity () >= 41, tl::to_string (tr ("Local to instance treatment"))); + tl::SelfTimer timer (tl::verbosity () >= 51, tl::to_string (tr ("Local to instance treatment"))); db::box_scanner2, unsigned int, db::Instance, unsigned int> bs2;