RT-Thread / RT-Thread/rt-thread
[Feature] 对 hwtimer/ktime/cputime 进行整体重构
Open
@BernardXiong is already working on this.
Since Dec 29, 2025.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
Describe problem solved by the proposed feature
目前 hwtimer/ktime/cputime 整体非常乱,应该从整体维度上进行重构,让它有一个更好的架构:
- 简单清晰;
- 针对MCU场景考虑,针对MPU场景考虑;
- 反映到实时场景下的要求;
- 如进行更改,应对所有涉及到的bsp进行检查并进行修改,至少保证构建无错,qemu测试通过;
对于这部分的重构,应该先给出整体设计,涉及到的文件评估,完成重构,ci涉及到的每个bsp构建,qemu测试通过。
Describe your preferred solution
No response
Describe possible alternatives
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.