| description | Learn more about: __readpmc | |||
|---|---|---|---|---|
| title | __readpmc | |||
| ms.date | 09/02/2019 | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 14ed45a6-28b6-4635-8437-a597c04b43d4 |
Microsoft Specific
Generates the rdpmc instruction, which reads the performance monitoring counter specified by counter.
unsigned __int64 __readpmc(
unsigned long counter
);counter
[in] The performance counter to read.
The value of the specified performance counter.
| Intrinsic | Architecture |
|---|---|
__readpmc |
x86, x64 |
Header file <intrin.h>
The intrinsic is available in kernel mode only, and the routine is only available as an intrinsic.
END Microsoft Specific