Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Specific
Generates the rdpmc instruction, which reads the performance monitoring counter specified by counter.
unsigned __int64 __readpmc(
unsigned long counter
);
Parameters
- [in] counter
The performance counter to read.
Return Value
The value of the specified performance counter.
Requirements
Intrinsic |
Architecture |
---|---|
__readpmc |
x86, x64 |
Header file <intrin.h>
Remarks
This intrinsic is available in kernel mode only, and the routine is only available as an intrinsic.