函数逻辑报告 |
Source Code:kernel\time\timer.c |
Create Date:2022-07-27 11:39:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:get_timer_cpu_base
函数原型:static inline struct timer_base *get_timer_cpu_base(unsigned int tflags, unsigned int cpu)
返回类型:struct timer_base
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned int | tflags | |
unsigned int | cpu |
838 | base等于per_cpu_ptr( & timer_bases[BASE_STD], cpu) |
844 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NO_HZ_COMMON)且tflags按位与TIMER_DEFERRABLE则base等于per_cpu_ptr( & timer_bases[BASE_DEF], cpu) |
846 | 返回:base |
名称 | 描述 |
---|---|
get_timer_base | |
add_timer_on | add_timer_on - start a timer on a particular CPU*@timer: the timer to be added*@cpu: the CPU to start it on* This is not very scalable on SMP. Double adds are not possible. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |