incubator-nuttx/sched/clock
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
..
CMakeLists.txt clock: correct compile failed 2024-09-29 18:18:01 +08:00
Make.defs clock: correct compile failed 2024-09-29 18:18:01 +08:00
clock.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock.h sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
clock_adjtime.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock_dow.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock_gettime.c Make each function of SCHED_CRITMONITOR independent 2024-09-19 03:16:14 +08:00
clock_initialize.c sched: fix the inaccurate cpuload statistics issue 2024-10-11 11:04:47 +08:00
clock_perf.c arch/perf: modify the return value of up_perf_gettime to clock_t 2024-10-10 23:17:14 +08:00
clock_realtime2absticks.c clock: correct compile failed 2024-09-29 18:18:01 +08:00
clock_settime.c clock: refactor clock_gettime clock_settime 2024-09-12 18:14:39 +08:00
clock_systime_ticks.c clock: refactor clock_systime_timespec() & clock_systime_ticks() 2024-09-12 18:14:39 +08:00
clock_systime_timespec.c clock: refactor clock_systime_timespec() & clock_systime_ticks() 2024-09-12 18:14:39 +08:00
clock_timekeeping.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock_timekeeping.h sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00