timers in Netgen

This commit is contained in:
Joachim Schöberl 2020-08-10 16:44:14 +02:00
parent 72447a51d5
commit 0fefe5d32c
3 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -207,6 +207,7 @@ namespace netgen
void ParallelMeshTopology :: UpdateCoarseGrid ()
{
static Timer t("ParallelTopology::UpdateCoarseGrid"); RegionTimer r(t);
// cout << "UpdateCoarseGrid" << endl;
// if (is_updated) return;

View File

@ -15,6 +15,8 @@ namespace netgen
{
if (mesh.GetCommunicator().Rank()==0)
PrintMessage (3, "Refine mesh");
Timer t("Refine mesh"); RegionTimer reg(t);
mesh.SetNextMajorTimeStamp();