From 0b7f4fecbc278d5f297b2b575c4b335cc9c806da Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Fri, 11 Jun 2021 15:33:45 +0200 Subject: [PATCH] timers --- libsrc/meshing/meshclass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index e23c607f..1df22c89 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -440,6 +440,7 @@ namespace netgen void Mesh :: Save (ostream & outfile) const { + static Timer timer("Mesh::Save"); RegionTimer rt(timer); int i, j; double scale = 1; // globflags.GetNumFlag ("scale", 1); @@ -2916,6 +2917,7 @@ namespace netgen void Mesh :: FreeOpenElementsEnvironment (int layers) { + static Timer timer("FreeOpenElementsEnvironment"); RegionTimer rt(timer); int i, j, k; PointIndex pi; const int large = 9999;