Events and Performance Monitor
ARM DDI 0363G
Copyright © 2006-2011 ARM Limited. All rights reserved.
6-9
ID073015
Non-Confidential
•
The values in this register are ignored unless the E bit, bit [0], is set
in the PMCR Register, see
c9, Performance Monitor Control
.
Configurations
Available in all processor configurations.
Attributes
shows the PMCNTENSET bit assignments.
Figure 6-2 PMCNTENSET Register bit assignments
shows the PMCNTENSET bit assignments.
To access the PMCNTENSET Register, read or write CP15 with:
MRC p15, 0, <Rd>, c9, c12, 1 ; Read PMCNTENSET Register
MCR p15, 0, <Rd>, c9, c12, 1 ; Write PMCNTENSET Register
When reading this register, any enable that reads as 0 indicates the corresponding counter is
disabled. Any enable that reads as 1 indicates the corresponding counter is enabled.
Writing a 1 to a particular count enable bit enables that counter. Writing a 0 to a count enable
bit has no effect. You must use the PMCNTENCLR to disable the counters. All counters are
disabled at reset.
The PMCNTENSET Register retains its value when the enable bit of the PMCR is clear, even
though its settings are ignored.
6.3.3
c9, Count Enable Clear Register
The PMCNTENCLR Register characteristics are:
Purpose
Disables any of the Event Count Registers.
Usage constraints
The PMCNTENCLR Register is:
•
accessible in:
—
Privileged mode
C
31
3 2 1 0
Reserved
P2
P1
P0
Performance monitor
counter enables
Cycle count enable
Table 6-3 PMCNTENSET Register bit assignments
Bits
Name
Function
[31]
C
Cycle counter enable
[30:3]
-
UNP on reads, SBZP on writes
[2]
P2
Counter 2 enable
[1]
P1
Counter 1 enable
[0]
P0
Counter 0 enable