函数逻辑报告 |
Source Code:kernel\time\ntp.c |
Create Date:2022-07-27 11:43:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:process_adjtimex_modes
函数原型:static inline void process_adjtimex_modes(const struct __kernel_timex *txc, s32 *time_tai)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct __kernel_timex * | txc | |
| s32 * | time_tai |
| 667 | 如果 mode selector 按位与select nanosecond resolution 则clock status bits: 或等于solution (0 = us, 1 = ns) (ro) |
| 670 | 如果 mode selector 按位与select microsecond resolution 则clock status bits: 与等于solution (0 = us, 1 = ns) (ro) 的反 |
| 673 | 如果 mode selector 按位与quency offset 则 |
| 687 | 如果 mode selector 按位与pll time constant 则 |
| 689 | 如果非clock status bits: 按位与solution (0 = us, 1 = ns) (ro) 的值则pll time constant: 加等于4 |
| 691 | pll time constant: 等于两数取小(pll time constant: , (long)maximum time constant (shift) ) |
| 692 | pll time constant: 等于两数取大(pll time constant: , 0l) |
| 695 | 如果 mode selector 按位与set TAI offset 且 pll time constant 大于等于0且 pll time constant 小于等于MAX_TAI_OFFSET则time_tai等于 pll time constant |
| 699 | 如果 mode selector 按位与ime offset 则ntp_update_offset( time offset (usec) ) |
| 705 | 如果 mode selector 按位与ick value 按位或quency offset 按位或ime offset 的值则Update (tick_length, tick_length_base, tick_nsec), based* on (tick_usec, ntp_tick_adj, time_freq): |
| 名称 | 描述 |
|---|---|
| __do_adjtimex | adjtimex mainly allows reading (and writing, if superuser) of* kernel time-keeping variables. used by xntpd. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |