gsdx profiler: drop latest frame time

Value is out of the chart. I'm not even sure it is a real frame so let's just remove it.
This commit is contained in:
Gregory Hainaut 2016-07-09 10:03:21 +02:00
parent 82d83ca579
commit a2086ed458
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ void GSDeviceOGL::GenerateProfilerData()
time_start = time_end;
}
// Latest value is often silly, just drop it
times.pop_back();
glDeleteQueries(1 << 16, m_profiler.timer_query);
double frames = times.size();