Skip to content
Snippets Groups Projects
Commit da4f5133 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Add ScopeProfilerType SPT_GRAPH_ADD

parent 194258b4
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,8 @@ class Profiler
enum ScopeProfilerType{
SPT_ADD,
SPT_AVG
SPT_AVG,
SPT_GRAPH_ADD
};
class ScopeProfiler
......@@ -216,6 +217,9 @@ class ScopeProfiler
case SPT_AVG:
m_profiler->avg(m_name, duration);
break;
case SPT_GRAPH_ADD:
m_profiler->graphAdd(m_name, duration);
break;
}
}
delete m_timer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment