Page 1 of 1

Quantifying idle time when using uasyncio

Posted: Sun Apr 10, 2022 7:12 pm
by mathieu
I'm working on a moderately complex automated system to read/log a dozen temperature and pressure sensors, run a few PIDs, control a stepper motor, and print out status messages. Most of these processes run in a async coroutine. I'd like to minimize undue lags, and to determine whether I need to optimize certain coroutines. What would be the best way to monitor my "idle time budget"?