| title |
__readpmc | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
Read Performance Monitoring Counters instruction |
__readpmc intrinsic |
rdpmc instruction |
|
| ms.assetid |
14ed45a6-28b6-4635-8437-a597c04b43d4 |
| caps.latest.revision |
11 |
| author |
corob-msft |
| ms.author |
corob |
| manager |
ghogen |
| translation.priority.ht |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
ru-ru |
zh-cn |
zh-tw |
|
| translation.priority.mt |
|
Microsoft Specific
Generates the rdpmc instruction, which reads the performance monitoring counter specified by counter.
unsigned __int64 __readpmc(
unsigned long counter
);
[in] counter
The performance counter to read.
The value of the specified performance counter.
| Intrinsic |
Architecture |
__readpmc |
x86, [!INCLUDEvcprx64] |
Header file <intrin.h>
Remarks
This intrinsic is available in kernel mode only, and the routine is only available as an intrinsic.
END Microsoft Specific
Compiler Intrinsics