diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index ea30e5f6..2eacb717 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -6420,6 +6420,7 @@ namespace netgen void Mesh :: UpdateTopology (TaskManager tm, Tracer tracer) { + static Timer t("Update Topology"); RegionTimer reg(t); topology.Update(tm, tracer); (*tracer)("call update clusters", false); clusters->Update(tm, tracer); diff --git a/libsrc/meshing/paralleltop.cpp b/libsrc/meshing/paralleltop.cpp index 3fba9f87..9e07fd73 100644 --- a/libsrc/meshing/paralleltop.cpp +++ b/libsrc/meshing/paralleltop.cpp @@ -207,6 +207,7 @@ namespace netgen void ParallelMeshTopology :: UpdateCoarseGrid () { + static Timer t("ParallelTopology::UpdateCoarseGrid"); RegionTimer r(t); // cout << "UpdateCoarseGrid" << endl; // if (is_updated) return; diff --git a/libsrc/meshing/refine.cpp b/libsrc/meshing/refine.cpp index bc4a2e5b..6f9e4585 100644 --- a/libsrc/meshing/refine.cpp +++ b/libsrc/meshing/refine.cpp @@ -15,7 +15,9 @@ namespace netgen { if (mesh.GetCommunicator().Rank()==0) PrintMessage (3, "Refine mesh"); + Timer t("Refine mesh"); RegionTimer reg(t); + mesh.SetNextMajorTimeStamp(); if (ntasks > 1 && id == 0)