函数逻辑报告 |
Source Code:kernel\time\ntp.c |
Create Date:2022-07-27 11:43:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ntp_update_offset
函数原型:static void ntp_update_offset(long offset)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| long | offset |
| 302 | 如果非clock status bits: 按位与able PLL updates (rw) 的值则返回 |
| 305 | 如果非clock status bits: 按位与solution (0 = us, 1 = ns) (ro) 的值则 |
| 308 | offset乘等于NSEC_PER_USEC |
| 322 | 如果此条件成立可能性小(为编译器优化)(clock status bits: & hold frequency (rw) )则secs等于0 |
| 335 | 如果此条件成立可能性小(为编译器优化)(secs > 1 << (PLL frequency factor (shift) + 1 + pll time constant: ))则secs等于1左移PLL frequency factor (shift) 加1加pll time constant: 位 |
| 338 | freq_adj加等于offset64乘secs左移NTP_SCALE_SHIFT减2乘PLL frequency factor (shift) 加2加pll time constant: 的和位 |
| 345 | ime adjustment (nsecs): 等于div_s64 - signed 64bit divide with 32bit divisor*@dividend: signed 64bit dividend*@divisor: signed 32bit divisor |
| 名称 | 描述 |
|---|---|
| process_adjtimex_modes |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |