COUNTER_READING - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPSAPI_H

/**
 * The COUNTER_READING structure is used to store individual counter data from a hardware counter.
 *
 * \remarks https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-hardware_counter_data
 */
typedef struct _COUNTER_READING
{
    // Specifies the type of hardware counter data collected.
    HARDWARE_COUNTER_TYPE Type;
    // An identifier for the specific counter.
    ULONG Index;
    // The initial value of the counter when measurement started.
    ULONG64 Start;
    // The accumulated value of the counter over the measurement period.
    ULONG64 Total;
} COUNTER_READING, *PCOUNTER_READING;

#endif

View code on GitHub

No description available.