But In case of extended traces of code, It could be more simple to work with timers such as the Systick timer or every other timer to find the time desired as DWT_CYCCNT does not have any flag to indicate an overflow. #embeddedsystems #arm #stm32 Serious time details processing for https://govindhtech.com/gigabytes-ces-2024-showcase-wows-world/