mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Add "Enable Performance Report" debug setting
This commit is contained in:
parent
ea8e435b32
commit
182a998cb6
4 changed files with 14 additions and 1 deletions
|
@ -36,6 +36,7 @@ enum class emu_settings_type
|
||||||
MaxSPURSThreads,
|
MaxSPURSThreads,
|
||||||
SleepTimersAccuracy,
|
SleepTimersAccuracy,
|
||||||
ClocksScale,
|
ClocksScale,
|
||||||
|
PerformanceReport,
|
||||||
|
|
||||||
// Graphics
|
// Graphics
|
||||||
Renderer,
|
Renderer,
|
||||||
|
@ -178,6 +179,7 @@ static const QMap<emu_settings_type, cfg_location> settings_location =
|
||||||
{ emu_settings_type::SleepTimersAccuracy, { "Core", "Sleep Timers Accuracy"}},
|
{ emu_settings_type::SleepTimersAccuracy, { "Core", "Sleep Timers Accuracy"}},
|
||||||
{ emu_settings_type::ClocksScale, { "Core", "Clocks scale"}},
|
{ emu_settings_type::ClocksScale, { "Core", "Clocks scale"}},
|
||||||
{ emu_settings_type::AccuratePPU128Loop, { "Core", "Accurate PPU 128-byte Reservation Op Max Length"}},
|
{ emu_settings_type::AccuratePPU128Loop, { "Core", "Accurate PPU 128-byte Reservation Op Max Length"}},
|
||||||
|
{ emu_settings_type::PerformanceReport, { "Core", "Enable Performance Report"}},
|
||||||
|
|
||||||
// Graphics Tab
|
// Graphics Tab
|
||||||
{ emu_settings_type::Renderer, { "Video", "Renderer"}},
|
{ emu_settings_type::Renderer, { "Video", "Renderer"}},
|
||||||
|
|
|
@ -1743,6 +1743,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||||
m_emu_settings->EnhanceCheckBox(ui->hookStFunc, emu_settings_type::HookStaticFuncs);
|
m_emu_settings->EnhanceCheckBox(ui->hookStFunc, emu_settings_type::HookStaticFuncs);
|
||||||
SubscribeTooltip(ui->hookStFunc, tooltips.settings.hook_static_functions);
|
SubscribeTooltip(ui->hookStFunc, tooltips.settings.hook_static_functions);
|
||||||
|
|
||||||
|
m_emu_settings->EnhanceCheckBox(ui->perfReport, emu_settings_type::PerformanceReport);
|
||||||
|
SubscribeTooltip(ui->perfReport, tooltips.settings.enable_performance_report);
|
||||||
|
|
||||||
// Comboboxes
|
// Comboboxes
|
||||||
|
|
||||||
m_emu_settings->EnhanceComboBox(ui->combo_accurate_ppu_128, emu_settings_type::AccuratePPU128Loop, true);
|
m_emu_settings->EnhanceComboBox(ui->combo_accurate_ppu_128, emu_settings_type::AccuratePPU128Loop, true);
|
||||||
|
|
|
@ -3520,6 +3520,13 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="perfReport">
|
||||||
|
<property name="text">
|
||||||
|
<string>Enable Performance Report</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacerDebugCore">
|
<spacer name="verticalSpacerDebugCore">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|
|
@ -97,6 +97,7 @@ public:
|
||||||
const QString disable_native_fp16 = tr("Disables hardware half-float support which is known to cause problems in some rare cases on some GPUs.");
|
const QString disable_native_fp16 = tr("Disables hardware half-float support which is known to cause problems in some rare cases on some GPUs.");
|
||||||
const QString enable_3d = tr("Enables 3D stereo rendering.\nNote that only anaglyph viewing is supported at the moment.");
|
const QString enable_3d = tr("Enables 3D stereo rendering.\nNote that only anaglyph viewing is supported at the moment.");
|
||||||
const QString accurate_ppu_128_loop = tr("When enabled, PPU atomic operations will operate on entire cache line data, as opposed to a single 64bit block of memory when disabled.\nNumerical values control whether or not to enable the accurate version based on the atomic operation's length.");
|
const QString accurate_ppu_128_loop = tr("When enabled, PPU atomic operations will operate on entire cache line data, as opposed to a single 64bit block of memory when disabled.\nNumerical values control whether or not to enable the accurate version based on the atomic operation's length.");
|
||||||
|
const QString enable_performance_report = tr("Measure certain events and print a chart after the emulator is stopped. Don't enable if not asked to.");
|
||||||
|
|
||||||
// emulator
|
// emulator
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue