3.2.11 Code Correlation
We will now demonstrate how program counter polling can be used to correlate code execution to power consumption.
The Power Debugger can be instructed by Data Visualizer to repeatedly poll the Program Counter (PC) as fast as possible during execution. While this will yield a very low percentage of code lines traced, it can be useful in trapping areas of code which use more power than intended.