Function report | 
Source Code:kernel\time\timekeeping.c | 
Create Date:2022-07-28 10:42:42 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:timekeeping_suspend
Proto:int timekeeping_suspend(void)
Type:int
Parameter:Nothing
| 1738 | tk = timekeeper | 
| 1752 | If seconds || nanoseconds Then Flag for if there is a persistent clock on this platform = true | 
| 1757 | raw_spin_lock_irqsave( & timekeeper_lock, flags) | 
| 1758 | write_seqcount_begin( & seq) | 
| 1760 | lag for if timekeeping is suspended = 1 | 
| 1767 | curr_clock = clock | 
| 1768 | cycle_now = cycle_last | 
| 1786 | Else | 
| 1795 | write_seqcount_end( & seq) | 
| 1796 | raw_spin_unlock_irqrestore( & timekeeper_lock, flags) | 
| 1798 | tick_suspend() | 
| 1799 | clocksource_suspend() | 
| 1800 | clockevents_suspend() | 
| 1802 | Return 0 | 
| 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  |