diff options
| author | emmauss <emmausssss@gmail.com> | 2020-02-06 11:25:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 11:25:47 +0000 |
| commit | f2b9a9c2b0a3d7af3b56df9ae09db8a3b2d8506c (patch) | |
| tree | 7c4a0019c1c904397927567a0ad0685299cce1eb /Ryujinx.Debugger/Profiler/Settings.cs | |
| parent | db9f8f999f2c9a50e25685424271735ed3538539 (diff) | |
Render Profiler in GUI (#854)
* move profiler output to gui
* addressed commits, rebased
* removed whitespaces
Diffstat (limited to 'Ryujinx.Debugger/Profiler/Settings.cs')
| -rw-r--r-- | Ryujinx.Debugger/Profiler/Settings.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.Debugger/Profiler/Settings.cs b/Ryujinx.Debugger/Profiler/Settings.cs new file mode 100644 index 00000000..52aa0d84 --- /dev/null +++ b/Ryujinx.Debugger/Profiler/Settings.cs @@ -0,0 +1,17 @@ +namespace Ryujinx.Debugger.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; + } +} |
