3.5.1 Device-Specific Information

Table 3-29. Performance Monitor Summary
Number of countersPeripheral Bus SpeedClock Source
8Standard

Standard Speed Peripheral Clock

Table 3-30. Counter Event Source Selection
SELECT n [4:0]Event sourceNote
18Fetch stage PBU missThis event indicates that the requested program data could not be sourced from either the cache memory or the ISB. Therefore, a new fetch from program memory with additional execution cycles was required to obtain the data.
17Fetch stage PBU hitThis event indicates that the requested program data was sourced from either the cache memory or the ISB. Therefore, no additional execution cycles were required to fetch the instruction.
16Fetch stage cache busyIndicates a cycle during which time the cache was busy transferring data from the instruction stream buffer (ISB) to the cache memory.
15Fetch stage program memory vector fetchIndicates that the CPU is fetching an interrupt vector and is aligned with a Program Flow Change event. This event can be used to count interrupt events.
14Fetch stage program memory program flow changeIndicates that a change in program flow has occurred. This could be due to a CALL, RETURN, RETFIE, conditional or unconditional branch, or interrupt event.
13Fetch stage read stallIndicates an extra cycle is needed to fetch a program word from memory. This could be caused by a cache miss or an arbitration conflict when fetching program words and data from the same memory.
12Fetch stage interrupt latency count enableIndicates the number of cycles due to interrupt latency.
11Address stage stallIndicates that CPU pipeline was stalled in the Address stage for any reason, possibly because the instruction is being discarded.
10Address stage read stallIndicates that an instruction could not continue because of extra latency reading a RAM or SFR location.
9Address stage FPU read stallIndicates that CPU execution is presently stalled because the CPU cannot read from a FPU register. This has occurred because the FPU is currently busy updating the register data.
8Address stage FPU instruction stallIndicates that execution in the FPU coprocessor is currently stalled due to a register data dependency.
7Address stage hazardIndicates an extra execution cycle caused by a data dependency upon an earlier instruction in the CPU pipeline, which could not be forwarded.
6Read stage branch mispredictIndicates an extra execution cycle caused by mispredicted program flow changes.
5Read stage conditional branchIndicates the occurrence of a conditional branch instruction. The count of conditional branch instructions can be compared to the number of branch mispredictions in order to determine the effectiveness of the CPU branch prediction logic.
4Write stage stallIndicates that an instruction could not continue because of extra latency writing to RAM or SFRs.
3Write stage FPU stallIndicates that CPU execution is presently stalled because the CPU cannot write to the FPU registers. This has occurred because the FPU is currently busy working on the existing register data.
2CPU instruction completedIndicates that an instruction in the CPU pipeline has completed.
1CPU cycle elapsed (reference)This event count provides the total number of CPU clock cycles elapsed.
0None