ARM R4 To access the EVTSELx Register, read or write CP15 with, EVTSELx Register bit functions

Models: R4F r1p3 R4

1 456
Download 456 pages 40.06 Kb
Page 178
Image 178

Events and Performance Monitor

31

8

7

0

Reserved

SEL

Figure 6-7 EVTSELx Register format

Table 6-8shows how the bit values correspond with the EVTSELx Register.

 

 

Table 6-8 EVTSELx Register bit functions

 

 

 

Bits

Field

Function

 

 

 

[31:8]

Reserved

RAZ or SBZP.

 

 

 

[7:0]

SEL

Event number selected, see Table 6-1 on page 6-2for

 

 

values.

 

 

The reset value of this field is Unpredictable.

 

 

 

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

MRC p15, 0, <Rd>, c9, c13, 1 ; Read EVTSELx Register

MCR p15, 0, <Rd>, c9, c13, 1 ; Write EVTSELx Register

The absolute counts of events recorded might vary because of pipeline effects. This has negligible effect except in cases where the counters are enabled for a very short time.

In addition to the counters within the processor, most of the events that Table 6-1 on page 6-2shows are available to the ETM unit or other external trace hardware to enable monitoring of the events. For information on how to monitor these events, see the CoreSight ETM-R4 Technical Reference Manual.

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

6-14

ID013010

Non-Confidential, Unrestricted Access

 

Page 178
Image 178
ARM R4F, r1p3 manual To access the EVTSELx Register, read or write CP15 with, EVTSELx Register bit functions