summaryrefslogtreecommitdiff
path: root/src/clock.c
AgeCommit message (Collapse)Author
2025-06-25doxygen: group name all in lowcaseChen Wang
This patch only updated the groups defined in documentation/0.doxygen. Other groups will be moved into documentation/0.doxygen and updated at that time. Signed-off-by: Chen Wang <[email protected]>
2025-05-23[clock]添加 rt_tick_get_delta 函数 htl5241
2025-02-15doxygen: add prefix for groups (#9991)Chen Wang
* doxygen: add prefix for groups Add "group_" prefix to doxygen group names. This makes it easier to grep with group name later. This patch only modifies the groups defined in the pathes of INPUT of documentation/Doxyfile: INPUT = . \ ../src \ ../include \ ../components/finsh \ ../components/drivers/include/drivers \ ../components/drivers/clk \ ../components/dfs/dfs_v2/src \ ../components/dfs/dfs_v2/include Other groups are not touched. Signed-off-by: Chen Wang <[email protected]> * ci: fixed error report when run file_check.py Such as: - "please delete extra space at the end of this line." - "the RT-Thread error code should return negative value. e.g. return -RT_ERROR" Signed-off-by: Chen Wang <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2024-10-29[src][clock] RT_TICK_PER_SECOND为1000时tick不用进行转换ryancw
2024-07-19[src][tick]rt_tick setting arbitrary value function is added to support ↵wdfk-prog
low-power wake-up tick compensation
2024-07-15[lwp][vdso] Add VDSO functionality under the aarch64 architecture (#9176)rcitachi
Add VDSO functionality under the aarch64 architecture
2024-06-04[smart] add CPU/thread usage tracing config (#8947)Shell
* [smart] add CPU usage tracing config This patch introduces following features: - Added CPU usage tracing functionality, enabled by default, for applications like 'top' - update time as smart independent Signed-off-by: Shell <[email protected]> * fixup: add ump idle thread --------- Signed-off-by: Shell <[email protected]>
2024-05-08[src] add rt_hw_cpu_id() wrapper API (#8894)Shell
* [src] add rt_hw_cpu_id() wrapper API rt_hw_cpu_id() is an unsafe API which should not be used by most codes directly. It's error-prone because it must be used in proper context, otherwise it can lead to errors and unpredictable behavior. This patch adds a wrapper API for rt_hw_cpu_id() to address this risk. It includes the context-checking functionality and provides a safer alternative for obtaining CPU IDs, ensuring that it is used correctly within the appropriate context. Signed-off-by: Shell <[email protected]> * fixup UMP * update API & comment * ci: cpp_check --------- Signed-off-by: Shell <[email protected]>
2024-02-23🎯 Sync smart & scheduler codes (#8537)Shell
Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
2024-01-09[kernel] fixup of data racing accessing percpu objects (#8475)Shell
Signed-off-by: Shell <[email protected]>
2024-01-05✨ feat: delete thread ref (#8456)xqyjlj
2024-01-02[kernel] support for hook listShell
Signed-off-by: Shell <[email protected]>
2023-12-22✨ feat: spinlock should lock sched (#8360)xqyjlj
2023-10-25🎈 perf: perf rt_hw_interrupt_disable/enable (#8042)xqyjlj
Signed-off-by: Shell <[email protected]> Co-authored-by: Shell <[email protected]>
2023-10-23fix:only the main core detection rt_timer_check(), in SMP modeRiceChen
2023-04-25[HUST_CSE] add doxygen missing `@brief` (#7368)Nephr1te
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-02-13[add] src/clock.c add hook for rt_tick_increase (#5569)tyustli
* [add] src/clock.c add hook for rt_tick_increase * [fix] clock.c rt_tick_incerase hook function * Update clock.c Co-authored-by: guo <[email protected]>
2021-09-18[update] functions annotation.liukangcc
2021-09-14[kernel] Improve code comments.guozhanxin
2021-09-10[kernel] 裁剪尾随空格guozhanxin
2021-09-10[clock] Improve the code comment of the clock.cguozhanxin
2021-06-10[kernel]补充endif后缀注释Meco Man
2021-06-03Merge pull request #4759 from mysterywolf/rt_tickBernard Xiong
[kernel] 对rt_tick变量增加volatile修饰,防止编译器优化时出现问题
2021-06-03[kernel] ↵Meco Man
对rt_tick变量增加volatile修饰,防止编译器优化时出现问题
2021-06-03[bug][kernel] 保持空闲任务钩子函数调用的原子性Meco Man
2021-06-01对rt_tick_increase临界区进行保护Meco Man
2021-05-28fix rt_tick_increase critical code protectiongeniusgogo
2021-03-08[kernel]auto formattedMeco Man
2020-12-30updateMeco Man
2020-12-30updateMeco Man
2020-12-29add function rt_hw_1ms_tick_get()Meco Man
2020-11-23【优化】在代码中移除 rt_system_object_init/rt_system_tick_init ↵guozhanxin
的调用。
2020-07-24解决yield操作不能及时释放cpu的问题shaojinchun
2019-12-16[kernel] code and comments cleanupBernard Xiong
2019-11-05将yield状态置于tcb的stat位域中shaojinchun
2019-10-12使can_yield成员的赋值更好理解shaojinchun
2019-10-12修正相同优先级任务切换太频繁的问题shaojinchun
2019-03-27[src/clock.c] avoid warningErnest Chen
2019-03-20【修复】修复计算中间值溢出问题HubretXie
rt_tick_from_millisecond 当入参较大时,计算中间值会出现溢出情况,导致转换结果出错
2019-03-07Update clock.clgnq
function rt_timer_check(void) is already decleared in rtthread.h
2018-11-22Add smp support to RT-Thread 4.0shaojinchun
2018-09-25[Kernel] Adjust the copyright informationBernard Xiong
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2017-10-15[Kernel] Add signal implementation.bernard
1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int';
2016-08-19Correct comments about doxygen formatdogandog
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2013-06-24Embedded GPLv2 license.Bernard Xiong
2012-12-20convert the tabs to spaces in clock.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2501 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27split export symbols from rtm.c to each file[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-05remove soft timer tick increase[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2108 bbd45198-f89e-11dd-88c7-29a3b14d5316