Export (0) Print
Expand All

PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE enumeration

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                        = 0,
  ResourceTypeRange                         = 1,
  ResourceTypeExtendedCounterConfiguration  = 2,
  ResourceTypeOverflow                      = 3,
  ResourceTypeMax                           = 4
} 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. The register address is contained in the u.ExtendedRegisterAddress member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure. This value is used only on Intel NetBurst systems.

ResourceTypeOverflow

A counter overflow interrupt. The u member of the PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR structure is not used for this counter resource type.

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

Version

Supported in Windows 7 and later versions of Windows.

Header

Ntddk.h (include Ntddk.h or Ntifs.h)

See also

PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft