From 88c60420d08b5e6aae840df7741326581603cccc Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 26 Dec 2018 00:34:34 +0100 Subject: [PATCH] WIP: fixed verbosity of some output. --- src/db/db/dbDeepShapeStore.cc | 5 +++-- src/db/unit_tests/dbNetlistDeviceExtractorTests.cc | 0 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 src/db/unit_tests/dbNetlistDeviceExtractorTests.cc diff --git a/src/db/db/dbDeepShapeStore.cc b/src/db/db/dbDeepShapeStore.cc index 76ea5dfcb..358d07c6e 100644 --- a/src/db/db/dbDeepShapeStore.cc +++ b/src/db/db/dbDeepShapeStore.cc @@ -291,7 +291,7 @@ DeepLayer DeepShapeStore::create_polygon_layer (const db::RecursiveShapeIterator // Build the working hierarchy from the recursive shape iterator try { - tl::SelfTimer timer (tl::to_string (tr ("Building working hierarchy"))); + tl::SelfTimer timer (tl::verbosity () >= 21, tl::to_string (tr ("Building working hierarchy"))); m_layouts[layout_index]->builder.set_shape_receiver (&clip); db::RecursiveShapeIterator (si).push (& m_layouts[layout_index]->builder); @@ -318,7 +318,8 @@ DeepShapeStore::insert (const DeepLayer &deep_layer, db::Layout *into_layout, db db::HierarchyBuilder &original_builder = m_layouts [deep_layer.layout_index ()]->builder; - // derive a cell mapping for source to target. We employ a + // Derive a cell mapping for source to target. We reuse any existing mapping for returning the + // shapes into the original layout. DeliveryMappingCacheKey key (deep_layer.layout_index (), tl::id_of (into_layout), into_cell); diff --git a/src/db/unit_tests/dbNetlistDeviceExtractorTests.cc b/src/db/unit_tests/dbNetlistDeviceExtractorTests.cc new file mode 100644 index 000000000..e69de29bb