Profiling

nRF54L15 | nRF54L10 | nRF54L05 Datasheet

The cache provides a scoreboard that tracks the hits and misses within the cache.

The results are available through a set of registers that can be used to indicate how well the cache is performing.

Profiling is enabled using PROFILING.ENABLE. All profiling counters can be cleared at any time using PROFILING.CLEAR. After being cleared, the counters will increment, according to the rules in the table below, at the next instruction- or data fetch.

Table 1. Profiling counters
Profiling counter Description
HIT Incremented on a cache hit
MISS Incremented on a cache miss (not counting write misses)
LMISS Incremented when accessing different line than was accessed last time
READS Incremented on a CPU read
WRITES Incremented on a CPU write