aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Debugger/Profiler/TimingFlag.cs
diff options
context:
space:
mode:
authoremmauss <emmausssss@gmail.com>2020-02-06 11:25:47 +0000
committerGitHub <noreply@github.com>2020-02-06 11:25:47 +0000
commitf2b9a9c2b0a3d7af3b56df9ae09db8a3b2d8506c (patch)
tree7c4a0019c1c904397927567a0ad0685299cce1eb /Ryujinx.Debugger/Profiler/TimingFlag.cs
parentdb9f8f999f2c9a50e25685424271735ed3538539 (diff)
Render Profiler in GUI (#854)
* move profiler output to gui * addressed commits, rebased * removed whitespaces
Diffstat (limited to 'Ryujinx.Debugger/Profiler/TimingFlag.cs')
-rw-r--r--Ryujinx.Debugger/Profiler/TimingFlag.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.Debugger/Profiler/TimingFlag.cs b/Ryujinx.Debugger/Profiler/TimingFlag.cs
new file mode 100644
index 00000000..8a34ac99
--- /dev/null
+++ b/Ryujinx.Debugger/Profiler/TimingFlag.cs
@@ -0,0 +1,17 @@
+namespace Ryujinx.Debugger.Profiler
+{
+ public enum TimingFlagType
+ {
+ FrameSwap = 0,
+ SystemFrame = 1,
+
+ // Update this for new flags
+ Count = 2,
+ }
+
+ public struct TimingFlag
+ {
+ public TimingFlagType FlagType;
+ public long Timestamp;
+ }
+}