| |||
Home > Programmers Model > Register descriptions > Performance Monitor Control Register (PMCR) |
The Performance Monitor Control Register (PMCR) characteristics are:
Controls the performance monitor.
There are no usage constraints.
Available in all CCI-400 configurations.
See Table 3.1.
Table 3.7 shows the bit assignments.
Table 3.7. Performance Monitor Control Register
Bits | Name | Reset Value | Access | Function |
---|---|---|---|---|
[31:16] | - | - | RAZ/WI | Reserved |
[15:11] | - | 0x4 | R/WI | Specifies the number of counters implemented |
[10:6] | - | - | RAZ/WI | Reserved |
[5] | DP | 0x0 | R/W | Disables cycle counter, CCNT, if non-invasive debug is prohibited. The options are as follows:
|
[4] | EX | 0x0 | R/W | Enable export of the events to the event bus, EVNTBUS, for an external monitoring block to trace events. The options are as follows:
|
[3] | CCD | 0x0 | R/W | Cycle count divider. The options are as follows:
|
[2] | CCR | 0x0 | RAZ/W | Cycle counter reset. The options are as follows:
|
[1] | RST | 0x0 | RAZ/W | Performance counter reset. The options are as follows:
|
[0] | CEN | 0x0 | R/W | Enable bit. The options are as follows:
|
Table 3.8 shows the relationship between the non-invasive debug enable input, NIDEN, and the PMCR register settings.
Table 3.8. Relationship between non-invasive debug enable input, NIDEN, and PMCR register settings
NIDEN input | PMCR.DP | PMCR.EX | Event counters enabled | Events exported | Cycle counter enabled |
---|---|---|---|---|---|
1 | X | 0 | Yes | No | Yes |
1 | X | 1 | Yes | Yes | Yes |
0 | 0 | X | No | No | Yes |
0 | 1 | X | No | No | No |