Set timer names in paje trace

This commit is contained in:
Matthias Hochsteger 2019-01-11 13:12:45 +01:00
parent bcb2935dbb
commit 0b2011a4a6

View File

@ -427,7 +427,7 @@ namespace ngcore
timer_ids.insert(t.id);
for(auto id : timer_ids)
timer_aliases[id] = paje.DefineEntityValue( state_type_timer, "a timer" /* TODO: NgProfiler::GetName(id).c_str()*/, -1 );
timer_aliases[id] = paje.DefineEntityValue( state_type_timer, NgProfiler::GetName(id).c_str(), -1 );
int timerdepth = 0;
int maxdepth = 0;