Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Timer question

More
2 years 9 months ago #3831 by ddrake
Timer question was created by ddrake
Hi,

It seems the interface for Timer in the profiler was changed over the last week or so. To keep the original behavior and remove the deprecation warnings, would it be correct to change
Code:
static Timer mytimer ("MyTimer", 2);
to
Code:
static Timer mytimer("MyTimer", NoTracing);

and
Code:
ThreadRegionTimer reg(mytimer, TaskManager::GetThreadId());
to
Code:
RegionTimer reg(mytimer)
?

Thanks!

Best,
Dow
Time to create page: 0.116 seconds