aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib
diff options
context:
space:
mode:
authorFreddie Chopin <freddie.chopin@gmail.com>2012-11-30 11:04:35 +0100
committerFreddie Chopin <freddie.chopin@gmail.com>2012-11-30 11:04:35 +0100
commite5c7ae470640ea20fe372b8da8185abf72123dbe (patch)
tree8f7143c883bf60d49626b2454400209477738459 /src/modules/systemlib
parent3de3b585054d4df81ebe55f5ce4efd334ae9f1a2 (diff)
downloadpx4-firmware-e5c7ae470640ea20fe372b8da8185abf72123dbe.tar.gz
px4-firmware-e5c7ae470640ea20fe372b8da8185abf72123dbe.tar.bz2
px4-firmware-e5c7ae470640ea20fe372b8da8185abf72123dbe.zip
Make cpuload correct and more efficient for all configurations of NuttX
Currently cpuload assumes there are only 2 static threads - idle and init, this is true only for "basic" config of NuttX, as there can be 3 more static threads: paging, work0 and work1 - depending on config. In such cases cpuload would mistake one of them for init (which in fact is always last), giving incorrect results to "top" Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/modules/systemlib')
0 files changed, 0 insertions, 0 deletions