Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 Similar to Linux and zephyr, all implementations are in arm64_arch_timer.c 2 Arm64 tickless is turned off by default. If it needs to be turned on, you need to configure the switch CONFIG_SCHED_TICKLESS ON 3 The implementation strategy for tick/tickless is to use the timer inside the CPU and implement the timer driver based on the ARCH_TIMER framework. 4 We implemented tick_* Callback functions to adapt to the driven interface to avoid time format conversion overhead 5 In arm64_tick_cancel func,The remaining time that is not used, so this value can be ignored without reading the corresponding register to obtain the remaining cycles 6 Currently, tick/tickless can takes effect in SMP and non SMP mode, ostest can pass. Signed-off-by: hujun5 <hujun5@xiaomi.com>
- Loading branch information