05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

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.

Performance Monitors<br />

C9.8 CP15 c9 register map<br />

The performance monitor registers are mapped into part of the CP15 register map. The registers are<br />

described in Performance monitor registers on page C10-105.<br />

Figure C9-1 shows the CP15 c9 encodings for the recommended performance monitor registers, <strong>and</strong> the<br />

reserved encodings for IMPLEMENTATION DEFINED performance monitors:<br />

CRn opc1 CRm opc2<br />

c9 0 c12 0<br />

1<br />

2<br />

3<br />

4<br />

5<br />

c13 0<br />

1<br />

2<br />

c14<br />

0<br />

1<br />

2<br />

PMCR, Performance Monitor Control Register<br />

PMCNTENSET, Count Enable Set Register<br />

PMCNTENCLR, Count Enable Clear Register<br />

PMOVSR, Overflow Flag Status Register<br />

PMSWINC, Software Increment Register<br />

PMSELR, Event Counter Selection Register<br />

PMCCNTR, Cycle Count Register<br />

PMXEVTYPER, Event Type Select Register<br />

PMXEVCNTR, Event Count Register<br />

PMUSERENR, User Enable Register<br />

PMINTENSET, Interrupt Enable Set Register<br />

PMINTENCLR, Interrupt Enable Clear Register<br />

c15 {0-7} ‡ Reserved for IMPLEMENTATION DEFINED performance monitors<br />

Read-only Read/Write<br />

Write-only<br />

‡ Access depends on the operation<br />

Figure C9-1 Recommended CP15 performance monitor registers<br />

Table C9-1 lists the instructions used to access the recommended performance monitor registers.<br />

Instruction a Description or notes<br />

MRC p15,0,,c9,c12,0<br />

MCR p15,0,,c9,c12,0<br />

MRC p15,0,,c9,c12,1<br />

MCR p15,0,,c9,c12,1<br />

MRC p15,0,,c9,c12,2<br />

MCR p15,0,,c9,c12,2<br />

MRC p15,0,,c9,c12,3<br />

MCR p15,0,,c9,c12,3<br />

Table C9-1 Recommended performance monitor registers<br />

c9, Performance Monitor Control Register (PMCR) on page C10-105.<br />

c9, Count Enable Set Register (PMCNTENSET) on page C10-108.<br />

c9, Count Enable Clear Register (PMCNTENCLR) on page C10-109.<br />

c9, Overflow Flag Status Register (PMOVSR) on page C10-110.<br />

C9-10 Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0406B

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

Saved successfully!

Ooh no, something went wrong!