PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration (ntddk.h)

The PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration contains constants that indicate the type of hardware performance counter resource that is described by a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.

Syntax

typedef enum _PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
  ResourceTypeSingle,
  ResourceTypeRange,
  ResourceTypeExtendedCounterConfiguration,
  ResourceTypeOverflow,
  ResourceTypeEventBuffer,
  ResourceTypeIdenitificationTag,
  ResourceTypeMax
} PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE;

Constants

 
ResourceTypeSingle
A single hardware counter. The counter is described by the u.CounterIndex member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeRange
A range of counter indexes. The counter indexes are described by the u.Range member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeExtendedCounterConfiguration
An extended counter configuration register address. Specifying this value will result in HalAllocateHardwareCounters returning STATUS_NOT_SUPPORTED.
ResourceTypeOverflow
A counter overflow interrupt handler. The interrupt handler to be invoked is described by the u.OverflowHandler member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeEventBuffer
An event buffer configuration. The configuration of the event buffer threshold, entry size, and overflow handler are described by the u.EventBufferConfiguration member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure.
ResourceTypeMax
The maximum value in this enumeration type.

Remarks

The Type member of a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure uses a PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration constant to indicate the type of counter resource that is described by the structure.

Requirements

   
Minimum supported client Supported in Windows 7 and later versions of Windows.
Header ntddk.h (include Ntddk.h, Ntifs.h)

See also

PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR

PPHYSICAL_COUNTER_OVERFLOW_HANDLER

PHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER