| |||
| Home > Events and Performance Monitor > Performance monitoring registers > c9, Software Increment Register | |||
The PMSWINC Register characteristics are:
Increments the count of an Event Count Register.
The PMSWINC Register is:
A write-only register that Reads-As-Zero
Accessible in:
Privileged mode
User mode only when the PMUSERENR.EN bit is set to 1, see c9, User Enable Register.
You must only use the PMSWINC Register to increment
Event Count Registers when the counter event is set to 0x00,
software count, in the Event Select Register, see c9, Event Type Selection
Register.
If you attempt to use the PMSWINC Register to increment
an Event Count Register when the counter event is set to a value
other than 0x00 the result is Unpredictable.
Available in all processor configurations.
See Table 6.6.
Figure 6.5 shows the PMSWINC bit assignments.
Table 6.6shows the PMSWINC bit assignments.
Table 6.6. PMSWINC Register bit assignments
| Bits | Name | Function |
|---|---|---|
[31:3] | - | RAZ on reads, SBZP on writes |
[2] | P2 | Increment Counter 2 |
[1] | P1 | Increment Counter 1 |
[0] | P0 | Increment Counter 0 |
To access the PMSWINC Register, read or write CP15 with:
MRC p15, 0, <Rd>, c9, c12, 4 ; Read PMSWINC Register MCR p15, 0, <Rd>, c9, c12, 4 ; Write PMSWINC Register