diff options
| author | 2019-08-26 17:29:08 +0200 | |
|---|---|---|
| committer | 2019-09-10 12:44:19 +0200 | |
| commit | 684b616f0d6445b753dded31554e0b006b6d2c3e (patch) | |
| tree | 6caaae05a26149df5919a3876c1b0b4b4789614d /src/yuzu_cmd | |
| parent | Merge pull request #2847 from VelocityRa/nro-nacp-fix (diff) | |
| download | yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.gz yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.tar.xz yuzu-684b616f0d6445b753dded31554e0b006b6d2c3e.zip | |
Add frametime logging for tracking performance over time
Co-Authored-By: jroweboy <jroweboy@gmail.com>
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index 067d58d80..5cadfd191 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -374,6 +374,8 @@ void Config::ReadValues() { | |||
| 374 | Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false); | 374 | Settings::values.use_dev_keys = sdl2_config->GetBoolean("Miscellaneous", "use_dev_keys", false); |
| 375 | 375 | ||
| 376 | // Debugging | 376 | // Debugging |
| 377 | Settings::values.record_frame_times = | ||
| 378 | sdl2_config->GetBoolean("Debugging", "record_frame_times", false); | ||
| 377 | Settings::values.use_gdbstub = sdl2_config->GetBoolean("Debugging", "use_gdbstub", false); | 379 | Settings::values.use_gdbstub = sdl2_config->GetBoolean("Debugging", "use_gdbstub", false); |
| 378 | Settings::values.gdbstub_port = | 380 | Settings::values.gdbstub_port = |
| 379 | static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689)); | 381 | static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689)); |
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 0cfc111a6..f9f244522 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -213,6 +213,8 @@ region_value = | |||
| 213 | log_filter = *:Trace | 213 | log_filter = *:Trace |
| 214 | 214 | ||
| 215 | [Debugging] | 215 | [Debugging] |
| 216 | # Record frame time data, can be found in the log directory. Boolean value | ||
| 217 | record_frame_times = | ||
| 216 | # Port for listening to GDB connections. | 218 | # Port for listening to GDB connections. |
| 217 | use_gdbstub=false | 219 | use_gdbstub=false |
| 218 | gdbstub_port=24689 | 220 | gdbstub_port=24689 |