But In case of very long traces of code, It could be a lot more functional to implement timers such as the Systick timer or another timer to obtain the time necessary as DWT_CYCCNT does not have any flag to point an overflow. #embeddedsystems #arm #stm32 From creating your firewall https://govindhtech.com/gigabytes-ces-2024-showcase-wows-world/