nuttx-mirror/sched
yinshengkai 4685175617 sched: fix the inaccurate cpuload statistics issue
Non-fixed clock source will lead to inaccurate cpuload statistics

before:
5     5 253 RR       Task      - Waiting  Signal    0000000000000000 0002000 0000624  31.2%   2.5% cpuload -p 50
6     6 253 RR       Task      - Waiting  Signal    0000000000000000 0002000 0000624  31.2%   0.7% cpuload -p 10
7     7 253 RR       Task      - Waiting  Signal    0000000000000000 0002000 0000624  31.2%   2.2% cpuload -p 20
after:
5     5 253 RR       Task      - Waiting  Signal    0000000000000000 0002000 0000624  31.2%  50.8% cpuload -p 50
6     6 253 RR       Task      - Waiting  Signal    0000000000000000 0002000 0000624  31.2%  10.8% cpuload -p 10
7     7 253 RR       Task      - Waiting  Signal    0000000000000000 0002000 0000624  31.2%  20.0% cpuload -p 20
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-10-11 11:04:47 +08:00
..
addrenv sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group Rename group_argvstr to nxtask_argvstr 2024-10-10 23:13:37 +08:00
init sched: swap setting for g_npidhash 2024-10-08 08:59:39 +08:00
instrument sched/gprof: add gprof support 2024-10-10 18:46:51 +08:00
irq arch: support customized up_cpu_index() in AMP mode 2024-10-10 02:38:40 +08:00
misc Rename group_argvstr to nxtask_argvstr 2024-10-10 23:13:37 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue mq: change mqueue msg mail to dynamic array 2024-10-07 20:20:13 +08:00
paging sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
pthread sched/pthread: save pid before task activate 2024-10-10 17:58:22 +08:00
sched sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
semaphore sched/sem_rw: convert read-lock to write-lock when self already holds a write-lock 2024-10-10 16:42:15 +08:00
signal signal: add sig_tgkill() kenrnel version support 2024-10-10 02:38:12 +08:00
task sched/task: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
timer sched/signal: Fix compilation errors for MSVC. 2024-10-09 01:36:39 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog sched/wdog: Fix code style 2024-10-10 13:57:46 +08:00
wqueue sched/wqueue: Fix unexpected dq entry status 2024-09-17 02:56:39 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00