incubator-nuttx/arch/arm64
ligd 35c8c80a00 arch: change nxsched_suspend/resume_scheduler() called position
for the citimon stats:

thread 0:                     thread 1:
enter_critical (t0)
up_switch_context
note suspend thread0 (t1)

                              thread running
                              IRQ happen, in ISR:
                                post thread0
                                up_switch_context
                                note resume thread0 (t2)
                                ISR continue f1
                                ISR continue f2
                                ...
                                ISR continue fn

leave_critical (t3)

You will see, the thread 0, critical_section time is:
(t1 - t0) + (t3 - t2)

BUT, this result contains f1 f2 .. fn time spent, it is wrong
to tell user thead0 hold the critical lots of time but actually
not belong to it.

Resolve:
change the nxsched_suspend/resume_scheduler to real hanppends

Signed-off-by: ligd <liguiding1@xiaomi.com>
2024-09-27 09:53:33 +08:00
..
include arm64_addrenv: Fix the amount of page table levels 2024-09-21 08:36:23 -03:00
src arch: change nxsched_suspend/resume_scheduler() called position 2024-09-27 09:53:33 +08:00
CMakeLists.txt CMake:init arm64 CMake qemu-armv8a build 2023-12-27 07:27:17 -08:00
Kconfig arm64/Kconfig: Make the ARM64_PA/VA_BITS a true Kconfig variable 2024-09-12 17:16:20 +08:00