But In case of long strains of code, It might be much more simple to work with timers like the Systick timer or any other timer to get the time needed as DWT_CYCCNT doesn't have any flag to point an overflow. #embeddedsystems #arm #stm32 Processing ability, big amounts of info, https://govindhtech.com/gigabytes-ces-2024-showcase-wows-world/