mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
timers in Netgen
This commit is contained in:
parent
72447a51d5
commit
0fefe5d32c
@ -6420,6 +6420,7 @@ namespace netgen
|
|||||||
void Mesh :: UpdateTopology (TaskManager tm,
|
void Mesh :: UpdateTopology (TaskManager tm,
|
||||||
Tracer tracer)
|
Tracer tracer)
|
||||||
{
|
{
|
||||||
|
static Timer t("Update Topology"); RegionTimer reg(t);
|
||||||
topology.Update(tm, tracer);
|
topology.Update(tm, tracer);
|
||||||
(*tracer)("call update clusters", false);
|
(*tracer)("call update clusters", false);
|
||||||
clusters->Update(tm, tracer);
|
clusters->Update(tm, tracer);
|
||||||
|
@ -207,6 +207,7 @@ namespace netgen
|
|||||||
|
|
||||||
void ParallelMeshTopology :: UpdateCoarseGrid ()
|
void ParallelMeshTopology :: UpdateCoarseGrid ()
|
||||||
{
|
{
|
||||||
|
static Timer t("ParallelTopology::UpdateCoarseGrid"); RegionTimer r(t);
|
||||||
// cout << "UpdateCoarseGrid" << endl;
|
// cout << "UpdateCoarseGrid" << endl;
|
||||||
// if (is_updated) return;
|
// if (is_updated) return;
|
||||||
|
|
||||||
|
@ -15,6 +15,8 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
if (mesh.GetCommunicator().Rank()==0)
|
if (mesh.GetCommunicator().Rank()==0)
|
||||||
PrintMessage (3, "Refine mesh");
|
PrintMessage (3, "Refine mesh");
|
||||||
|
Timer t("Refine mesh"); RegionTimer reg(t);
|
||||||
|
|
||||||
|
|
||||||
mesh.SetNextMajorTimeStamp();
|
mesh.SetNextMajorTimeStamp();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user