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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 3-38 shows the bit arrangement of the PMNC Register.<br />

IMP<br />

System Control Coprocessor<br />

31 24 23 16 15 11 10 6 5 4 3 2 1 0<br />

IDCODE N<br />

Reserved<br />

Figure 3-38 Performance Monitor Control Register format<br />

Table 3-82 shows how the bit values correspond with the PMNC Register functions.<br />

Bits Field Function<br />

[31:24] IMP Specifies the implementor code:<br />

0x41 = <strong>ARM</strong>.<br />

[23:16] IDCODE Specifies the identification code:<br />

0x0.<br />

[15:11] N Specifies the number of counters implemented:<br />

0x4 = 4 counters implemented.<br />

[10:6] - Reserved. RAZ, SBZP.<br />

D C P E<br />

Table 3-82 Performance Monitor Control Register bit functions<br />

[5] DP Disables cycle counter, CCNT, when non-invasive debug is prohibited:<br />

0 = count is enabled in regions where non-invasive debug is prohibited<br />

1 = count is disabled in regions where non-invasive debug is prohibited.<br />

[4] X Enables export of the events from the event bus to an external monitoring block, such as the ETM<br />

to trace events:<br />

0 = export disabled, reset value<br />

1 = export enabled.<br />

[3] D Cycle count divider:<br />

0 = counts every processor clock cycle, reset value<br />

1 = counts every 64th processor clock cycle.<br />

[2] C Cycle counter reset:<br />

0 = no action<br />

1 = resets cycle counter, CCNT, to zero.<br />

This bit Read-As-Zero.<br />

[1] P Performance counter reset:<br />

0 = no action<br />

1 = resets all performance counters to zero.<br />

This bit Read-As-Zero.<br />

[0] E Enable bit:<br />

0 = disables all counters, including CCNT<br />

1 = enables all counters including CCNT.<br />

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

ID060510 Non-Confidential<br />

DP<br />

X

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

Saved successfully!

Ooh no, something went wrong!