13.2.6.5 Data Watchpoint and Trace (DWT)

The Data Watchpoint and Trace (DWT) contains four comparators which can be configured to generate the following:

  • PC sampling packets at set intervals
  • PC or Data watchpoint packets
  • Watchpoint event to halt core

The DWT contains counters for the items that follow:

  • Clock cycle (CYCCNT)
  • Folded instructions
  • Load Store Unit (LSU) operations
  • Sleep Cycles
  • CPI (all instruction cycles except for the first cycle)
  • Interrupt overhead