aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Profiler/Settings.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Profiler/Settings.cs')
-rw-r--r--Ryujinx.Profiler/Settings.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Ryujinx.Profiler/Settings.cs b/Ryujinx.Profiler/Settings.cs
new file mode 100644
index 00000000..c0393545
--- /dev/null
+++ b/Ryujinx.Profiler/Settings.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Ryujinx.Profiler
+{
+ public class ProfilerSettings
+ {
+ // Default settings for profiler
+ public bool Enabled { get; set; } = false;
+ public bool FileDumpEnabled { get; set; } = false;
+ public string DumpLocation { get; set; } = "";
+ public float UpdateRate { get; set; } = 0.1f;
+ public int MaxLevel { get; set; } = 0;
+ public int MaxFlags { get; set; } = 1000;
+
+ // 19531225 = 5 seconds in ticks on most pc's.
+ // It should get set on boot to the time specified in config
+ public long History { get; set; } = 19531225;
+
+ // Controls
+ public ProfilerKeyboardHandler Controls;
+ }
+}