aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/State/ICounter.cs
blob: 93e721ea3c46cdb1896c64c9c519143897ee9975 (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; }
    }
}