Add perf stat logging through ini setting
For better tracking of performance regressions on incoming changes, this change adds a way to dump frametime to file by changing an ini config option. This is intentionally hidden as its only useful to a small number of individuals, and not really applicable to the general userbase.
This commit is contained in:
@@ -239,7 +239,7 @@ void RendererOpenGL::SwapBuffers() {
|
||||
DrawScreens(render_window.GetFramebufferLayout());
|
||||
m_current_frame++;
|
||||
|
||||
Core::System::GetInstance().perf_stats.EndSystemFrame();
|
||||
Core::System::GetInstance().perf_stats->EndSystemFrame();
|
||||
|
||||
// Swap buffers
|
||||
render_window.PollEvents();
|
||||
@@ -247,7 +247,7 @@ void RendererOpenGL::SwapBuffers() {
|
||||
|
||||
Core::System::GetInstance().frame_limiter.DoFrameLimiting(
|
||||
Core::System::GetInstance().CoreTiming().GetGlobalTimeUs());
|
||||
Core::System::GetInstance().perf_stats.BeginSystemFrame();
|
||||
Core::System::GetInstance().perf_stats->BeginSystemFrame();
|
||||
|
||||
prev_state.Apply();
|
||||
RefreshRasterizerSetting();
|
||||
|
Reference in New Issue
Block a user