summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs')
-rw-r--r--src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs b/src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs
new file mode 100644
index 00000000..55302f90
--- /dev/null
+++ b/src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+
+namespace StardewModdingAPI.Framework.Utilities
+{
+ public interface IPerformanceCounterEvent
+ {
+ string GetEventName();
+ long GetAverageCallsPerSecond();
+ IDictionary<string, PerformanceCounter> PerformanceCounters { get; }
+
+ double GetGameAverageExecutionTime();
+ double GetModsAverageExecutionTime();
+ double GetAverageExecutionTime();
+ }
+}