murata
16d7f69949
AP_Scheduler: Console output can be disabled
3 years ago
Andy Piper
2209576c90
AP_Scheduler: refactor task info into TaskInfo
...
break fast_loop down into FastTasks to aid profiling
run fast tasks before scheduled tasks
fix scheduler example
introduce fast task priorities
remove fast loop
3 years ago
murata
55c07e24c0
AP_Scheduler: Change the Task Performance Notification Level to Information
4 years ago
Patrick José Pereira
806bc4898b
AP_Scheduler: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andy Piper
af8d6c5fc9
AP_Scheduler: add the fast loop to task statistics
4 years ago
Andy Piper
5b5b9d57a1
AP_Scheduler: add per-task performance information accesible from @SYS/tasks.txt
...
print fully qualified name on most boards
remove old task slip message
Don't die on allocation failure.
dynamically allocation/free task info based on SCHED_OPTIONS
dynamically enable task info on ftp get
4 years ago
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.
5 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
2d4d99e836
AP_Scheduler: remove unused log_dropped variable
7 years ago
Andrew Tridgell
ce5db7b813
AP_Scheduler: fixed use of sqrt()
7 years ago
Peter Barker
8288198ac8
AP_Scheduler: force single-precision floating point calculations
7 years ago
Andrew Tridgell
f436901517
AP_Scheduler: fixed perf info to match previous behaviour
7 years ago
Andrew Tridgell
434c3fffc7
AP_Scheduler: fixed filtered loop time
7 years ago
Andrew Tridgell
620d6ab4b8
AP_Scheduler: fixed merge issues
7 years ago
Peter Barker
d3c1b720c6
AP_Scheduler: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
d151b27e92
AP_Scheduler: move PERF: statustext sending into AP_Scheduler
7 years ago
Andrew Tridgell
b3ed8fd3f9
AP_Scheduler: scale perf_info with loop rate
...
this allows it to be used for a wide range of loop rates
7 years ago
Peter Barker
fd543fce6d
AP_Scheduler: create AP::PerfInfo class
7 years ago
Peter Barker
5c2f68e8f5
Copter+AP_Scheduler: move perf_info.cpp into Scheduler
7 years ago
Peter Barker
30fac9160e
Copter: mavlink PERF messages also spit out average and standard deviation
8 years ago
Michael du Breuil
a81bfe644a
Copter: Document max loop time as being in microseconds
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
5149a49daa
Copter: added logging of dropped log messages in PM message
9 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Lucas De Marchi
4f6c32cb35
ArduCopter: remove dangling ifdefs for 100Hz main loop
...
ArduCopter doesn't support main loop of 100Hz anymore. Remove the
missing ifdefs checking for MAIN_LOOP_RATE.
10 years ago
Andrew Tridgell
191d803968
Copter: make PERF info message into a STATUSTEXT message
...
this makes it appear properly in tlogs. Also show both min and max
loop times
10 years ago
Randy Mackay
4ff75f0371
Copter: perf info ignores slow loop due to arming
10 years ago
Randy Mackay
9287e28307
Copter: bug fix display of PerfMon log's num long loops
11 years ago
rmackay9
810da878e7
ArduCopter: performance monitoring - changed loop counters to uint16_t.
...
Removed an unused items from dataflash logging of Performance.
12 years ago
rmackay9
07a7a1acd8
ArduCopter: replaced digitalRead and digitalWrite with faster calls
...
improved performance logging to dataflash
12 years ago