mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									84b40f2da6
								
							
						
					
					
						commit
						62e6c147ae
					
				
					 11 changed files with 78 additions and 11 deletions
				
			
		|  | @ -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(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue