I have STM32F4 running with FreeRTOS and LwIP for networking library. I want to know how much cycle that STM32F4 needs when it receive a network packet (such as Ping). So I use DWT to measure that. When I ping the STM32F4 and it shows me around 3000 cycles, but after 3-5 times pings it shows me around 6000 cycles after that it shows 3000 cycles. It happen repeatedly. Why this condition happens? I just curious with this
Here is my code and my result screenshoot..