__readpmc
Microsoft Specific
Generates the rdpmc
instruction, which reads the performance monitoring counter specified by counter.
Syntax
unsigned __int64 __readpmc(
unsigned long counter
);
Parameters
counter
[in] 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
The intrinsic is available in kernel mode only, and the routine is only available as an intrinsic.
END Microsoft Specific
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for