Function report |
Source Code:include\linux\ktime.h |
Create Date:2022-07-28 05:35:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs)
Type:ktime_t
Parameter:
Type | Parameter | Name |
---|---|---|
const s64 | secs | |
const unsigned long | nsecs |
39 | If Value for the false possibility is greater at compile time(secs >= KTIME_SEC_MAX) Then Return KTIME_MAX |
42 | Return secs * NSEC_PER_SEC + nsecs |
Name | Describe |
---|---|
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: |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |