| Function report | 
| Source Code: kernel\time\hrtimer.c | Create Date:2022-07-28 10:41:06 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__hrtimer_init_sleeper
Proto:static void __hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct hrtimer_sleeper * | sl | |
| clockid_t | clock_id | |
| enum hrtimer_mode | mode | 
| 1822 | If task_is_realtime(current process) && Not (mode & Timer callback function will be executed in) Then mode |= Timer callback function will be executed in | 
| 1826 | __hrtimer_init( & timer, clock_id, mode) | 
| 1827 | function = Sleep related functions: | 
| 1828 | task = current process | 
| Name | Describe | 
|---|---|
| hrtimer_init_sleeper | hrtimer_init_sleeper - initialize sleeper to the given clock*@sl: sleeper to be initialized*@clock_id: the clock to be used*@mode: timer mode abs/rel | 
| 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 |