函数逻辑报告 |
Source Code:include\linux\ktime.h |
Create Date:2022-07-27 06:39:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ktime_set - Set a ktime_t variable from a seconds/nanoseconds value*@secs: seconds to set*@nsecs: nanoseconds to set* Return: The ktime_t representation of the value.
函数原型:static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs)
返回类型:ktime_t
参数:
类型 | 参数 | 名称 |
---|---|---|
const s64 | secs | |
const unsigned long | nsecs |
39 | 如果此条件成立可能性小(为编译器优化)(secs >= KTIME_SEC_MAX)则返回:KTIME_MAX |
42 | 返回:secs乘NSEC_PER_SEC加nsecs |
名称 | 描述 |
---|---|
ktime_add_safe | Add two ktime values and do a safety check for overflow: |
tk_set_wall_to_mono | |
__timekeeping_set_tai_offset | __timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic |
ktime_get_update_offsets_now | ktime_get_update_offsets_now - hrtimer helper*@cwsseq: pointer to check and store the clock was set sequence number*@offs_real: pointer to storage for monotonic -> realtime offset*@offs_boot: pointer to storage for monotonic -> boottime offset*@offs_tai: |
ntp_get_next_leap | p_get_next_leap - Returns the next leapsecond in CLOCK_REALTIME ktime_t* Provides the time of the next leapsecond against CLOCK_REALTIME in* a ktime_t format. Returns KTIME_MAX if no leapsecond is pending. |
torture_shutdown_init | Start up the shutdown task. |
timespec_to_ktime | vert a timespec to ktime_t format: |
timespec64_to_ktime | vert a timespec64 to ktime_t format: |
timeval_to_ktime | vert a timeval to ktime_t format: |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |