| Function report | 
| Source Code: kernel\time\timekeeping.c | Create Date:2022-07-28 10:42:53 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length
Proto:static void timekeeping_advance(enum timekeeping_adv_mode mode)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| enum timekeeping_adv_mode | mode | 
| 2050 | real_tk = timekeeper | 
| 2051 | tk = shadow_timekeeper | 
| 2053 | shift = 0 | 
| 2054 | clock_set = 0 | 
| 2057 | raw_spin_lock_irqsave( & timekeeper_lock, flags) | 
| 2060 | If Value for the false possibility is greater at compile time(lag for if timekeeping is suspended ) Then Go to out | 
| 2073 | If offset < The following members are for timekeeping internal use && mode == Update timekeeper when a tick has passed Then Go to out | 
| 2078 | timekeeping_check_update(tk, offset) | 
| 2089 | shift = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(0, shift) | 
| 2092 | shift = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(shift, maxshift) | 
| 2096 | If offset < The following members are for timekeeping internal use << shift Then shift-- | 
| 2109 | write_seqcount_begin( & seq) | 
| 2121 | No 3D Now!(real_tk, tk, size of tk ) | 
| 2123 | write_seqcount_end( & seq) | 
| 2124 | out : | 
| 2125 | raw_spin_unlock_irqrestore( & timekeeper_lock, flags) | 
| 2126 | If clock_set Then clock_was_set_delayed() | 
| Name | Describe | 
|---|---|
| update_wall_time | pdate_wall_time - Uses the current clocksource to increment the wall time | 
| do_adjtimex | do_adjtimex() - Accessor function to NTP __do_adjtimex function | 
| 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 |