aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/State/ICounter.cs
blob: 7aa1cce73e136f95104727502fd71aab09c3eb2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace ARMeilleure.State
{
    /// <summary>
    /// CPU Counter interface.
    /// </summary>
    public interface ICounter
    {
        /// <summary>
        /// Counter frequency in Hertz.
        /// </summary>
        ulong Frequency { get; }

        /// <summary>
        /// Current counter value.
        /// </summary>
        ulong Counter { get; }
    }
}