Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Chandra_V_
Beginner
281 Views

PCM on Windows 10 - PMEM device error

Dear All, 

I have compiled the PCM for windows 10 on Visual Studio Community on 64bit - i7 -7th generation laptop. I am trying to measure  MEM_LOAD_UOPS_RETIRED_L3_MISS_EVTNR. So, i run the following command.

pcm-core  -e cpu/umask=0x20,event=0xD1.  Seems working but i getting error 

"Failed to seek in the pmem device". and   IPC value = -nan(ind). Please refer the attached screen shot. Can not solve this issue last 2 days :) // Am i missing anything? Any suggestion very helpful. Many thanks.

With regards, Chandra

 

 

0 Kudos
3 Replies
Zhuoran
Beginner
281 Views

Hello Chandra,

 

Did you solve the problem? I am trying to use PCM now and I got the same error as yours. Thank you very much!

 

Best regards,

 

HadiBrais
New Contributor III
281 Views

The first error says "Starting MSR service failed with error 2," which I think it means that the MSR driver file msr.sys could not be found in the same directory as pcm-core.

Zhuoran
Beginner
281 Views

Hadi Brais wrote:

The first error says "Starting MSR service failed with error 2," which I think it means that the MSR driver file msr.sys could not be found in the same directory as pcm-core.

 

Yes, because he used the winring driver instead of msr.sys. I did that too. I switched another computer and rebuilt the same .sln. Now the message "failed to seek in pmem" has gone and everything looks fine. I don't understand the reason maybe they have different intel CPUs.

Unsuccessful: i7-7500U

Successful: i5-7440HQ

Reply