6.3.6. c9, Performance Counter Selection Register

The PMSELR Register characteristics are:

Purpose
  • selects an Event Count Register.

  • determines which count register is accessed or controlled by accesses to the Event Selection Register and the Event Count Register.

Usage constraints

The PMSELR Register is:

  • A read/write register.

  • Accessible in:

Configurations

Available in all processor configurations.

Attributes

Figure 6.6 shows the bit assignments.

Figure 6.6. PMSELR Register bit assignments

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


Table 6.7 shows the bit assignments.

Table 6.7. PMSELR Register bit assignments

BitsNameFunction

[31:5]

Reserved

RAZ on reads, SBZP on writes

[4:0]

SEL

Counter select:

b00000 = selects counter 0

b00001 = selects counter 1

b00010 = selects counter 2.


Any values programmed in the PMSELR Register other than those specified in Table 6.7 are Unpredictable.

To access the PMSELR Register, read or write CP15 with:

MRC p15, 0, <Rd>, c9, c12, 5 ; Read  PMSELR Register
MCR p15, 0, <Rd>, c9, c12, 5 ; Write PMSELR Register
Copyright © 2010-2011 ARM. All rights reserved.ARM DDI 0460C
Non-ConfidentialID021511