Function report |
Source Code:kernel\time\tick-sched.c |
Create Date:2022-07-28 10:52:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:int tick_check_oneshot_change(int allow_nohz)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | allow_nohz |
1413 | ts = this_cpu_ptr( & Per-CPU nohz control structure) |
1418 | If nohz_mode != NOHZ_MODE_INACTIVE Then Return 0 |
1421 | If Not mekeeping_valid_for_hres - Check if timekeeping is suitable for hres || Not k_is_oneshot_available - check for a oneshot capable event device Then Return 0 |
1424 | If Not allow_nohz Then Return 1 |
1427 | tick_nohz_switch_to_nohz() |
1428 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |