This is a simple example for the IAR Embedded Workbench for Arm using Cortex-M ITM instrumentation for displaying the application's data on the IAR C-SPY Timeline.
The project's was generated for the STM32F407VG device, used in the STM32F407G-DISC1 board.
Below you can see an (optional) conditional breakpoint that breaks when iVal % 5 == 0
and the tooltip displaying timing data for a selected range: