HARDWARE_COUNTER_DATA structure (winnt.h)

Contains the hardware counter value.

Syntax

typedef struct _HARDWARE_COUNTER_DATA {
  HARDWARE_COUNTER_TYPE Type;
  DWORD                 Reserved;
  DWORD64               Value;
} HARDWARE_COUNTER_DATA, *PHARDWARE_COUNTER_DATA;

Members

Type

The type of hardware counter data collected. For possible values, see the HARDWARE_COUNTER_TYPE enumeration.

Reserved

Reserved. Initialize to zero.

Value

The counter index. Each hardware counter in a processor's performance monitoring unit (PMU) is identified by an index.

Remarks

This structure is a member of the PERFORMANCE_DATA structure.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header winnt.h (include Windows.h)

See also

PERFORMANCE_DATA