GetPMCValue

Gets the value of a hardware Performance Monitor Counter (PMC).

Syntax

void GetPMCValue(
         UINT32 index,
         UINT64 *pValue
)  

Parameters

index
Type: UINT32 

Index of the hardware counter (from 0 to 3).

pValue
Type: UINT64 *

The value of the counter, as a pointer to a 64 bit integer.

Return value

None.

Remarks

See the Remarks in ConfigurePMCs.

Requirements

Header: Declared in pix.h.

Library: Use PIXEvt.lib.

See also

PIX