aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Profiler/Settings.cs
blob: f0c851b229527f4174d03d06784d9c73c1fb7e59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
    }
}