Timer question

More
3 years 5 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.114 seconds