函数逻辑报告 |
Source Code:kernel\time\timekeeping.c |
Create Date:2022-07-27 11:41:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:must hold timekeeper_lock
函数原型:static void timekeeping_update(struct timekeeper *tk, unsigned int action)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct timekeeper * | tk | |
unsigned int | action |
663 | 如果action按位与TK_CLEAR_NTP则 |
665 | ntp_clear() |
671 | update_vsyscall(tk) |
672 | update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET) |
678 | 如果action按位与TK_CLOCK_WAS_SET则clock_was_set_seq自加 |
685 | 如果action按位与TK_MIRROR则内存复制( & shadow_timekeeper, & timekeeper, timekeeper的长度) |
名称 | 描述 |
---|---|
do_settimeofday64 | do_settimeofday64 - Sets the time of day.*@ts: pointer to the timespec64 variable containing the new time* Sets the time of day to the new time and update NTP and notify hrtimers |
timekeeping_inject_offset | mekeeping_inject_offset - Adds or subtracts from the current time.*@tv: pointer to the timespec variable containing the offset* Adds or subtracts an offset value from the current time. |
change_clocksource | hange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource |
timekeeping_init | 初始化系统时钟计时 |
timekeeping_resume | mekeeping_resume - Resumes the generic timekeeping subsystem. |
timekeeping_suspend | |
timekeeping_advance | mekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length |
do_adjtimex | do_adjtimex() - Accessor function to NTP __do_adjtimex function |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |