Function report |
Source Code:kernel\time\tick-common.c |
Create Date:2022-07-28 10:50:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tick_check_preferred
Proto:static bool tick_check_preferred(struct clock_event_device *curdev, struct clock_event_device *newdev)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct clock_event_device * | curdev | |
| struct clock_event_device * | newdev |
| 305 | If Not (features & CLOCK_EVT_FEAT_ONESHOT) Then |
| 306 | If curdev && features & CLOCK_EVT_FEAT_ONESHOT Then Return false |
| 308 | If tick_oneshot_mode_active() Then Return false |
| 316 | Return Not curdev || rating > rating || Not pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input |
| Name | Describe |
|---|---|
| tick_check_replacement | Check whether the new device is a better fit than curdev. curdev* can be NULL ! |
| tick_check_new_device | Check, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled. |
| 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 |