 | ULINK2 User's Guide |  |
|
|
| Event Counters WindowThe Event Counters window displays numbers that show how often an event triggered. The events selected in the dialog Target Driver Setup - Trace - Trace Events are counted. 
Event counters are performance indicators and can be used as follows: - CPICNT : Exception overhead cycle: can be used to indicate Flash wait states. This counter increments on each additional cycle required to execute a multi-cycle instruction, except for those instructions recorded by LSUCNT. It does not count the first cycle required to execute any instruction. The counter also increments on each cycle of any instruction fetch stall.
- EXCCNT : Extra Cycle per Instruction: indicates exception frequency. The counter increments on each cycle associated with exception entry or return. That is, it counts the cycles associated with entry stacking, return unstacking, preemption, and other exception-related processes.
- SLEEPCNT : Sleep Cycles: indicates the time spend in sleep mode. The counter increments on each cycle associated with power saving, whether initiated by a WFI or WFE instruction, or by the sleep-on-exit functionality.
- LSUCNT : Load Store Unit Cycles: general indication of memory wait states. This counter increments on each additional cycle required to execute a multi-cycle load-store instruction. It does not count the first cycle required to execute any instruction.
- FOLDCNT : Folded Instructions: indicates instructions that execute in zero cycles. For example, an IT instruction is folded and does not use any cycles.
Click the "zero" button to reset that counter. Note - The Event Counters values displayed are accurate provided there are no trace errors. When trace errors occur, the actual counts could be higher than those displayed.
|
|