函数逻辑报告 | 
Source Code:kernel\time\tick-sched.c | 
Create Date:2022-07-27 11:51:59 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Check, if a change happened, which makes oneshot possible.* Called cyclic from the hrtimer softirq (driven by the timer* softirq) allow_nohz signals, that we can switch into low-res nohz* mode, because high resolution timers are disabled (either compile
函数原型:int tick_check_oneshot_change(int allow_nohz)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | allow_nohz | 
| 1413 | ts等于this_cpu_ptr( & Per-CPU nohz control structure) | 
| 1418 | 如果nohz_mode不等于NOHZ_MODE_INACTIVE则返回:0 | 
| 1421 | 如果非mekeeping_valid_for_hres - Check if timekeeping is suitable for hres或非k_is_oneshot_available - check for a oneshot capable event device则返回:0 | 
| 1424 | 如果非allow_nohz则返回:1 | 
| 1427 | tick_nohz_switch_to_nohz() | 
| 1428 | 返回:0 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |