[LCP]rdpmc
Sanka Piyaratna
cesanka at iprimus.com.au
Thu Aug 2 08:51:36 UTC 2001
Hi all,
I am trying to use the pmc performance counter to count the number of Branch miss predictions and cache misses under linux on a intel pentium II machine. Unfortunately my program is giving me a segmentation fault.
I read some document recently, saying that I need to anable some flag in the kernel to execute this instruction "rdpmc". Is that so? Could some body please help me on this.
Thank you
Regards,
Sanka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20010802/f0df3bc5/attachment.htm
More information about the linuxCprogramming
mailing list