Function report |
Source Code:include\linux\time64.h |
Create Date:2022-07-28 05:34:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mespec64_add_ns - Adds nanoseconds to a timespec64*@a: pointer to timespec64 to be incremented*@ns: unsigned nanoseconds value to be added* This must always be inlined because its used from the x86-64 vdso,* which cannot call other kernel functions.
Proto:static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct timespec64 * | a | |
u64 | ns |
156 | seconds += __iter_div_u64_rem( nanoseconds + ns, NSEC_PER_SEC, & ns) |
157 | nanoseconds = ns |
Name | Describe |
---|---|
ktime_get_real_ts64 | ktime_get_real_ts64 - Returns the time of day in a timespec64.*@ts: pointer to the timespec to be set* Returns the time of day in a timespec64 (WARN if suspended). |
ktime_get_ts64 | ktime_get_ts64 - get the monotonic clock in timespec64 format*@ts: pointer to timespec variable* The function calculates the monotonic clock from the realtime* clock and the wall_to_monotonic offset and stores the result |
ktime_get_raw_ts64 | ktime_get_raw_ts64 - Returns the raw monotonic time in a timespec*@ts: pointer to the timespec64 to be set* Returns the raw monotonic time (completely un-modified by ntp) |
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 |