ardupilot/libraries/AP_Scheduler
Andrew Tridgell 79acaeaef1 AP_Scheduler: cope with high CPU load by stretching loop times
this adds an extra budget of time per loop when we are not achieving
scheduled tasks at a rate of at least 1/8 of the desired rate. This
fixes an issue where a vehicle can become uncontrollable if the user
asks for a SCHED_LOOP_RATE which is not achievable. As these events
happen we add extra loop budget until we are able to run all tasks. We
drop the extra time when the CPU pressure eases.
2019-09-19 18:25:20 +10:00
..
examples/Scheduler_test GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
AP_Scheduler.cpp AP_Scheduler: cope with high CPU load by stretching loop times 2019-09-19 18:25:20 +10:00
AP_Scheduler.h AP_Scheduler: cope with high CPU load by stretching loop times 2019-09-19 18:25:20 +10:00
PerfInfo.cpp AP_Scheduler: cope with high CPU load by stretching loop times 2019-09-19 18:25:20 +10:00
PerfInfo.h AP_Scheduler: remove unused log_dropped variable 2018-05-15 08:35:05 +09:00