summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Utilities/IPerformanceCounterEvent.cs
blob: 55302f908b81b6ee2f5a63a55c333eb4457eb63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
    }
}