函数逻辑报告 |
Source Code:kernel\time\time.c |
Create Date:2022-07-27 11:38:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set_normalized_timespec - set timespec sec and nsec parts and normalize*@ts: pointer to timespec variable to be set*@sec: seconds to set*@nsec: nanoseconds to set* Set seconds and nanoseconds field of a timespec variable and* normalize to the timespec
函数原型:void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct timespec64 * | ts | |
time64_t | sec | |
s64 | nsec |
523 | 当nsec大于等于NSEC_PER_SEC循环 |
539 | nanoseconds 等于nsec |
名称 | 描述 |
---|---|
timespec64_add_safe | Add two timespec64 values and do a safety check for overflow.* It's assumed that both values are valid (>= 0).* And, each timespec64 is in normalized form. |
tk_set_wall_to_mono | |
ktime_get_coarse_ts64 | |
pvclock_read_wallclock |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |