Function report |
Source Code:kernel\time\itimer.c |
Create Date:2022-07-28 10:49:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_cpu_itimer
Proto:static void get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, struct itimerspec64 *const value)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| unsigned int | clock_id | |
| struct itimerspec64 *const | value |
| 53 | spin_lock_irq( & siglock) |
| 57 | If val Then |
| 63 | If val < t Then val = TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ |
| 70 | spin_unlock_irq( & siglock) |
| 72 | it_value = s_to_timespec64 - Convert nanoseconds to timespec64*@nsec: the nanoseconds value to be converted* Returns the timespec64 representation of the nsec parameter. |
| 73 | it_interval = s_to_timespec64 - Convert nanoseconds to timespec64*@nsec: the nanoseconds value to be converted* Returns the timespec64 representation of the nsec parameter. |
| Name | Describe |
|---|---|
| do_getitimer |
| 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 |