> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetPMCValue

> GetPMCValue

# GetPMCValue

Obtiene el valor de un contador de supervisión de rendimiento (PMC) de hardware.

## Sintaxis

```cpp theme={null}
void GetPMCValue(  
         UINT32 index,  
         UINT64* value  
)  
```

### Parámetros

*index*   \
Tipo: UINT32

Índice del contador de hardware (de 0 a 3).

*value*   \
Tipo: UINT64\*

El valor del contador, como un puntero a un entero de 64 bits.

### Valor devuelto

Tipo: void

## Comentarios

Hay cuatro contadores de hardware que se pueden configurar directamente para contar eventos. Los eventos contables se enumeran en los comentarios de [ConfigurePMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurepmcs.md). [ConfigurePMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurepmcs.md) se usa para configurar los contadores de hardware para realizar el seguimiento de eventos.  A continuación, puede usar `GetPMCValue` para recuperar los recuentos de uno de los eventos configurados.

## Requisitos

**Encabezado:** pix3\_xbox.h

**Biblioteca:** pixevt.lib

**Plataformas compatibles:** consolas de la familia XBOX One y consolas XBOX Series

## Consulte también

[ConfigurePMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurepmcs.md)\
[ConfigureL2IPMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurel2ipmcs.md)\
[ConfigureNBPMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurenbpmcs.md)\
[PIX3 en XBOX](https://docs.xbox.com/es/reference/tools/pix3/pix3_members.md)\
[PIX (tema de NDA)](https://docs.xbox.com/es/tools/tools-console/pix/pix.md)


## Related topics

- [ConfigureL2IPMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurel2ipmcs.md)
- [ConfigureNBPMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurenbpmcs.md)
- [ConfigurePMCs](https://docs.xbox.com/es/reference/tools/pix3/functions/configurepmcs.md)
- [PIX3 (contenido de la API)](https://docs.xbox.com/es/reference/tools/pix3/pix3_members.md)
- [GetCompletedValue](https://docs.xbox.com/es/reference/graphics/d3d12/interfaces/id3d12fence/methods/id3d12fence_getcompletedvalue_public.md)
