25#ifndef ZEPHYR_BLUESYNC_SRC_LOCAL_TIME_H_
26#define ZEPHYR_BLUESYNC_SRC_LOCAL_TIME_H_
void apply_timer_sync(double slope_timer, double offset_timer_us)
Apply the synchronisation parameters. Once the LR is made, The result of it gives a drift value (slop...
uint64_t convert_uptime_ticks_to_est_master_ticks(uint64_t uptime_ticks)
Convert a ticks value into an estimation in ticks of the overall unix epoch timestamp.
void set_new_epoch_unix_ref(uint64_t epoch_ref_us)
Set the new epoch unix ref value. Before the authority node starts a new network synchronisation,...
uint64_t uncompress_time(uint32_t compress_32bit_timestamp)
Convert a uint32_t timestamps into a uint64_t values. This should be used in the sink node....
int64_t get_uptime_ticks_with_epoch()
Get the uptime ticks with epoch value. This method concerns only the authority Role....
double get_current_offset_ticks()
Get the current offset ticks value.
uint64_t get_logical_time_ticks(void)
Get the logical time ticks value. This is the corrected ticks value after synchronisation....
uint64_t get_logical_time_us(void)
Get the logical time us value. This is the corrected us value after synchronisation....
double get_current_slope_ticks()
Get the current slope ticks value.