函数逻辑报告 |
Source Code:include\linux\rtc.h |
Create Date:2022-07-27 06:59:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Determine if we can call to driver to set the time
函数原型:static inline bool rtc_tv_nsec_ok(s64 set_offset_nsec, struct timespec64 *to_set, const struct timespec64 *now)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| s64 | set_offset_nsec | |
| struct timespec64 * | to_set | set_delay_nsec == now +/- FUZZ |
| const struct timespec64 * | now |
| 238 | struct timespec64 delay = { seconds = 0, nanoseconds = set_offset_nsec} |
| 241 | set_delay_nsec == now +/- FUZZ等于timespec64_add( * now, delay) |
| 243 | 如果 nanoseconds 小于TIME_SET_NSEC_FUZZ则 |
| 244 | nanoseconds 等于0 |
| 245 | 返回:true |
| 248 | 如果 nanoseconds 大于NSEC_PER_SEC减TIME_SET_NSEC_FUZZ则 |
| 253 | 返回:false |
| 名称 | 描述 |
|---|---|
| sync_cmos_clock |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |