← Home

AMEVTYPER0<n>: Activity Monitors Event Type Registers 0, n = 0 - 3

Purpose

Provides information on the events that an architected activity monitor event counter AMU.AMEVCNTR0<n> counts.

Configuration

External register AMEVTYPER0<n> bits [31:0] are architecturally mapped to AArch64 System register AMEVTYPER0<n>_EL0[31:0] when FEAT_AMU_EXT32 is implemented.

External register AMEVTYPER0<n> bits [63:0] are architecturally mapped to AArch64 System register AMEVTYPER0<n>_EL0[63:0] when FEAT_AMU_EXT64 is implemented.

External register AMEVTYPER0<n> bits [31:0] are architecturally mapped to AArch32 System register AMEVTYPER0<n>[31:0].

It is IMPLEMENTATION DEFINED whether AMEVTYPER0<n> is implemented in the Core power domain or in the Debug power domain.

This register is present only when FEAT_AMUv1 is implemented. Otherwise, direct accesses to AMEVTYPER0<n> are RES0.

Attributes

AMEVTYPER0<n> is a:

This register is part of the AMU block.

Field descriptions

When FEAT_AMU_EXT64 is implemented:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0
RES0evtCount

Bits [63:16]

Reserved, RES0.

evtCount, bits [15:0]

Event to count. The event number of the event that is counted by the architected activity monitor event counter AMU.AMEVCNTR0<n>. The value of this field is architecturally mandated for each architected counter.

The following table shows the mapping between required event numbers and the corresponding counters:

The value of this field is an IMPLEMENTATION DEFINED choice of:

evtCountMeaningApplies when
0x0011

Processor frequency cycles

When n == 0
0x4004

Constant frequency cycles

When n == 1
0x0008

Instructions retired

When n == 2
0x4005

Memory stall cycles

When n == 3

Access to this field is RO.

Otherwise:

313029282726252423222120191817161514131211109876543210
RES0evtCount

Bits [31:16]

Reserved, RES0.

evtCount, bits [15:0]

Event to count. The event number of the event that is counted by the architected activity monitor event counter AMU.AMEVCNTR0<n>. The value of this field is architecturally mandated for each architected counter.

The following table shows the mapping between required event numbers and the corresponding counters:

The value of this field is an IMPLEMENTATION DEFINED choice of:

evtCountMeaningApplies when
0x0011

Processor frequency cycles

When n == 0
0x4004

Constant frequency cycles

When n == 1
0x0008

Instructions retired

When n == 2
0x4005

Memory stall cycles

When n == 3

Access to this field is RO.

Accessing AMEVTYPER0<n>

If <n> is greater than or equal to the number of architected activity monitor event counters, reads of AMEVTYPER0<n> are RAZ. Software must treat reserved accesses as RES0. See 'Access requirements for reserved and unallocated registers'.

Note

AMU.AMCGCR.CG0NC identifies the number of architected activity monitor event counters.

Accesses to this register use the following encodings:

When FEAT_AMU_EXT64 is implemented

Accessible at offset 0x400 + (8 * n) from AMU

Accesses on this interface are RO.

When FEAT_AMU_EXT32 is implemented

Accessible at offset 0x400 + (4 * n) from AMU

Accesses on this interface are RO.