Function report | 
Source Code:kernel\time\timekeeping.c | 
Create Date:2022-07-28 10:41:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Update the ktime_t based scalar nsec members of the timekeeper
Proto:static inline void tk_update_ktime_data(struct timekeeper *tk)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct timekeeper * | tk | 
| 643 | nsec = nanoseconds | 
| 644 | base = ns_to_ktime(seconds * NSEC_PER_SEC + nsec) | 
| 651 | nsec += xtime_nsec >> shift | 
| 652 | If nsec >= NSEC_PER_SEC Then seconds++ | 
| 657 | base = ns_to_ktime(raw_sec * NSEC_PER_SEC) | 
| Name | Describe | 
|---|---|
| timekeeping_update | must hold timekeeper_lock | 
| 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  |