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