Export (0) Print
Expand All
Expand Minimize

__readpmc

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, x64

Header file <intrin.h>

This intrinsic is available in kernel mode only, and the routine is only available as an intrinsic.

Community Additions

ADD
Show:
© 2014 Microsoft