From 9014669c5604a5cedc3b2b0a60db98d671ff4e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Sun, 20 Nov 2016 19:30:50 +0100 Subject: [PATCH] timer --- libsrc/meshing/clusters.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/meshing/clusters.cpp b/libsrc/meshing/clusters.cpp index ddc399c9..0bee5211 100644 --- a/libsrc/meshing/clusters.cpp +++ b/libsrc/meshing/clusters.cpp @@ -18,6 +18,9 @@ namespace netgen void AnisotropicClusters :: Update() { + static int timer = NgProfiler::CreateTimer ("clusters"); + NgProfiler::RegionTimer reg (timer); + const MeshTopology & top = mesh.GetTopology(); bool hasedges = top.HasEdges();