函数逻辑报告 |
Source Code:kernel\time\posix-cpu-timers.c |
Create Date:2022-07-27 11:47:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Insert the timer on the appropriate list before any timers that* expire later. This must be called with the sighand lock held.
函数原型:static void arm_timer(struct k_itimer *timer)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct k_itimer * | timer |
489 | clkidx等于CPUCLOCK_WHICH(it_clock) |
491 | newexp等于cpu_timer_getexpires(ctmr) |
495 | 如果CPUCLOCK_PERTHREAD(it_clock)则base等于bases加clkidx |
500 | 如果非cpu_timer_enqueue( & tqhead, ctmr)则返回 |
名称 | 描述 |
---|---|
posix_cpu_timer_set | Guts of sys_timer_settime for CPU timers.* This is called with the timer locked and interrupts disabled.* If we return TIMER_RETRY, it's necessary to release the timer's lock* and try again. (This happens when the timer is in the middle of firing.) |
posix_cpu_timer_rearm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |