函数逻辑报告 |
Source Code:kernel\time\time.c |
Create Date:2022-07-27 11:38:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:s_to_timespec - Convert nanoseconds to timespec*@nsec: the nanoseconds value to be converted* Returns the timespec representation of the nsec parameter.
函数原型:struct timespec ns_to_timespec(const s64 nsec)
返回类型:struct timespec
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const s64 | nsec |
| 466 | seconds 等于div_s64_rem - signed 64bit divide with 64bit divisor and remainder*@dividend: 64bit dividend*@divisor: 64bit divisor*@remainder: 64bit remainder |
| 467 | 如果此条件成立可能性小(为编译器优化)(rem < 0)则 |
| 468 | seconds 自减 |
| 469 | rem加等于NSEC_PER_SEC |
| 471 | nanoseconds 等于rem |
| 473 | 返回:ts |
| 名称 | 描述 |
|---|---|
| ns_to_timeval | s_to_timeval - Convert nanoseconds to timeval*@nsec: the nanoseconds value to be converted* Returns the timeval representation of the nsec parameter. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |