Code: Select all
for(;;)
printf("%lld\n",esp_timer_get_time());
I am pretty much amazed by the results
these are almost 780 microsec apart...How is this possible considering esp32 runs at 240Mhz2817315
2818096
2818878
Forgive me If I asked a NOOB level question...I get it has to perform numerous cycles to execute even a single line of code but the values are much far from 240Mhz its nearly 1.2Khz(780microsec)
Please someone give some clarity.