summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/PerformanceCounter/IPerformanceCounterEvent.cs
blob: 6b83586d14f0cc884bb6006fffbc4ad5266051ce (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.PerformanceCounter> PerformanceCounters { get; }

        double GetGameAverageExecutionTime();
        double GetModsAverageExecutionTime();
        double GetAverageExecutionTime();
    }
}