I'm checking the routine execution time, I use a timer, interval 20ms
I've noticed that about every 16 cycles there's one much slower, see the attacched image
What could be the cause?


Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Varun SetiaRank #308 · 8.2K reputationPosted Jul 26, 2020, 7:10 AM EDT
fabio borghini6 reputationPosted Jul 26, 2020, 11:15 AM EDT