09.12.2012 Views

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

Cortex-A8 Technical Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

14.10 Interaction with the Performance Monitoring Unit<br />

14.10.1 Use of PMU events by the ETM<br />

Embedded Trace Macrocell<br />

The processor includes a Performance Monitoring Unit (PMU) that enables events, such as<br />

cache misses and instructions executed, to be counted over a period of time. This section<br />

describes how the PMU and ETM are used together.<br />

The PMU events are all available for use by the ETM using the extended external input facility.<br />

Each event is mapped to one or two extended external inputs. For more information on PMU<br />

events, see c9, Event Selection Register on page 3-84.<br />

A PMU event uses two extended external inputs where two such events can occur in a cycle.<br />

Both extended external inputs are active in cycle when two events occur. The ETM Architecture<br />

Specification describes how to use extended external input selectors to make these events<br />

available to the rest of the ETM triggering and filtering logic.<br />

Table 14-17 shows the mapping of the PMU event numbers to the ETM extended external input<br />

event numbers.<br />

Table 14-17 PMU event number mappings<br />

PMU event number First ETM event number Second ETM event number<br />

0x0 - -<br />

0x1 0x1 -<br />

0x2 0x2 -<br />

0x3 0x3 -<br />

0x4 0x5 -<br />

0x5 0x6 -<br />

0x6 0x7 -<br />

0x7 0x8 -<br />

0x8 0x9 0xa<br />

0x9 0xb -<br />

0xa 0xc -<br />

0xb 0xd -<br />

0xc 0xe -<br />

0xd 0xf -<br />

0xe 0x10 -<br />

0xf 0x11 -<br />

0x10 0x12 -<br />

0x12 0x13 -<br />

0x40 0x14 -<br />

0x41 0x15 -<br />

0x42 0x16 -<br />

<strong>ARM</strong> DDI 0344K Copyright © 2006-2010 <strong>ARM</strong> Limited. All rights reserved. 14-23<br />

ID060510 Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!