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
				
			
		|  | @ -255,6 +255,7 @@ void Config::ReadValues() { | |||
|     qt_config->endGroup(); | ||||
| 
 | ||||
|     qt_config->beginGroup("Debugging"); | ||||
|     Settings::values.record_frame_times = ReadSetting("record_frame_times", false).toBool(); | ||||
|     Settings::values.use_gdbstub = ReadSetting("use_gdbstub", false).toBool(); | ||||
|     Settings::values.gdbstub_port = ReadSetting("gdbstub_port", 24689).toInt(); | ||||
| 
 | ||||
|  | @ -544,6 +545,7 @@ void Config::SaveValues() { | |||
|     qt_config->endGroup(); | ||||
| 
 | ||||
|     qt_config->beginGroup("Debugging"); | ||||
|     WriteSetting("record_frame_times", Settings::values.record_frame_times, false); | ||||
|     WriteSetting("use_gdbstub", Settings::values.use_gdbstub, false); | ||||
|     WriteSetting("gdbstub_port", Settings::values.gdbstub_port, 24689); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue