| Function report | 
| Source Code: kernel\time\itimer.c | Create Date:2022-07-28 10:49:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:set_cpu_itimer
Proto:static void set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, const struct itimerspec64 *const value, struct itimerspec64 *const ovalue)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | tsk | |
| unsigned int | clock_id | |
| const struct itimerspec64 *const | value | |
| struct itimerspec64 *const | ovalue | 
| 179 | nval = mespec64_to_ns - Convert timespec64 to nanoseconds*@ts: pointer to the timespec64 variable to be converted* Returns the scalar nanosecond representation of the timespec64* parameter. | 
| 180 | ninterval = mespec64_to_ns - Convert timespec64 to nanoseconds*@ts: pointer to the timespec64 variable to be converted* Returns the scalar nanosecond representation of the timespec64* parameter. | 
| 182 | spin_lock_irq( & siglock) | 
| 187 | If nval > 0 Then nval += TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ | 
| 196 | spin_unlock_irq( & siglock) | 
| 198 | If ovalue Then | 
| Name | Describe | 
|---|---|
| do_setitimer | 
| 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 |