Skip to content

Performance Evaluation

Willian Galvani edited this page Jul 20, 2021 · 3 revisions

Setting sched_debug to 2 enables periodic (Every 10 s) outputs like this:

APM: PERF: 37/4000 [4941:917] F=393Hz sd=102 Ex=0

This means we had 37 loops longer than expected, with a maximum loop time of 4941 us and a minimum loop time of 917 us, giving as an standard deviation of 102 us.

param set sched_options 1 will save per-thread data in the internal storage. This information can be fetched with ftp get @ SYS/tasks.txt

Clone this wiki locally