Function report |
Source Code:kernel\time\time.c |
Create Date:2022-07-28 10:38:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The TICK_NSEC - 1 rounds up the value to the next resolution
Proto:static unsigned long __timespec64_to_jiffies(u64 sec, long nsec)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u64 | sec | |
| long | nsec | = nsec % TICK_NSEC; is NOT a correct resolution rounding. |
| 632 | = nsec % TICK_NSEC; is NOT a correct resolution rounding. = = nsec % TICK_NSEC; is NOT a correct resolution rounding. + TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ - 1 |
| Name | Describe |
|---|---|
| __timespec_to_jiffies | |
| timespec64_to_jiffies |
| 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 |