ldk_os_time_ticks_get
Read the high-resolution time counter.
LDK_API u64 ldk_os_time_ticks_get(void);
Returns
The resulting numeric value.
Read the high-resolution time counter.
LDK_API u64 ldk_os_time_ticks_get(void);
The resulting numeric value.
Calculate elapsed time between two counter ticks in milliseconds.
LDK_API double ldk_os_time_ticks_interval_get_milliseconds(
u64 start,
u64 end
);
u64 startu64 endElapsed time in milliseconds.
Calculate elapsed time between two counter ticks in nanoseconds.
LDK_API double ldk_os_time_ticks_interval_get_nanoseconds(
u64 start,
u64 end
);
u64 startu64 endElapsed time in nanoseconds.
Calculate elapsed time between two counter ticks in seconds.
LDK_API double ldk_os_time_ticks_interval_get_seconds(
u64 start,
u64 end
);
u64 startu64 endElapsed time in seconds.