Skip to content

Commit b78afd2

Browse files
committed
psm: add timer to node creation
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 2a6f35d commit b78afd2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/psm/src/ir_network.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,13 @@ void IRNetwork::processPolygonToRectangles(
367367
std::vector<std::unique_ptr<Node>>& new_nodes,
368368
std::map<Shape*, std::set<Node*>>& terminal_connections)
369369
{
370+
const utl::DebugScopedTimer timer(
371+
logger_,
372+
utl::PSM,
373+
"timer",
374+
2,
375+
fmt::format("Convert polygons to nodes {}: {{}}", layer->getName()));
376+
370377
using boost::polygon::operators::operator+=;
371378

372379
auto get_layer_orientation

0 commit comments

Comments
 (0)