Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring

PEBS on Windows

ja123
Beginner
172 Views

Hi,

Is there any way to use PCM utility or the APIs to enable Precise Event-Based Sampling using the PMU? Take the example of a scenario where I want to capture a sample and record the PC every 100,000 clock cycles on Windows.

0 Kudos
3 Replies
Bernard
Black Belt
172 Views

ja123 wrote:

Hi,

Is there any way to use PCM utility or the APIs to enable Precise Event-Based Sampling using the PMU? Take the example of a scenario where I want to capture a sample and record the PC every 100,000 clock cycles on Windows.

Do you have any official documents about precise event based sampling?

ja123
Beginner
172 Views

iliyapolak wrote:

Quote:

ja123wrote:

Hi,

Is there any way to use PCM utility or the APIs to enable Precise Event-Based Sampling using the PMU? Take the example of a scenario where I want to capture a sample and record the PC every 100,000 clock cycles on Windows.

Do you have any official documents about precise event based sampling?

The closest doc I've seen is the Intel Software Developer's manual (System Programming Guide Vol 3B) - Section 18.4.4.

http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-d...

Bernard
Black Belt
172 Views

Thank you for posting the link.

Reply