Function report |
Source Code:kernel\time\ntp.c |
Create Date:2022-07-28 10:43:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sync_cmos_clock
Proto:static bool sync_cmos_clock(void)
Type:bool
Parameter:Nothing
| 571 | target_nsec = NSEC_PER_SEC / 2 |
| 573 | If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GENERIC_CMOS_UPDATE) Then Return false |
| 576 | If no_cmos Then Return false |
| 589 | If Indicates if there is an offset between the system clock and the hardware* clock/persistent clock/rtc. Then seconds -= minutes west of Greenwich * 60 |
| 591 | rc = update_persistent_clock64(adjust) |
| 597 | no_cmos = true |
| 598 | Return false |
| 602 | sched_sync_hw_clock(now, target_nsec, rc) |
| 603 | Return true |
| Name | Describe |
|---|---|
| sync_hw_clock |
| 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 |