Function report |
Source Code:kernel\time\timekeeping.c |
Create Date:2022-07-28 10:42:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mekeeping_resume - Resumes the generic timekeeping subsystem.
Proto:void timekeeping_resume(void)
Type:void
Parameter:Nothing
1678 | tk = timekeeper |
1683 | bool inject_sleeptime = false |
1687 | clockevents_resume() |
1688 | clocksource_resume() |
1690 | raw_spin_lock_irqsave( & timekeeper_lock, flags) |
1691 | write_seqcount_begin( & seq) |
1707 | If nsec > 0 Then |
1708 | ts_delta = s_to_timespec64 - Convert nanoseconds to timespec64*@nsec: the nanoseconds value to be converted* Returns the timespec64 representation of the nsec parameter. |
1709 | inject_sleeptime = true |
1710 | Else if lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0 > 0 Then |
1712 | inject_sleeptime = true |
1715 | If inject_sleeptime Then |
1721 | cycle_last = cycle_now |
1722 | cycle_last = cycle_now |
1725 | lag for if timekeeping is suspended = 0 |
1727 | write_seqcount_end( & seq) |
1728 | raw_spin_unlock_irqrestore( & timekeeper_lock, flags) |
1730 | touch_softlockup_watchdog() |
1732 | tick_resume() |
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 |