zenoh-c icon indicating copy to clipboard operation
zenoh-c copied to clipboard

provide more details about z_timestamp_t

Open DenisBiryukov91 opened this issue 1 year ago • 1 comments

Describe the release item

Currently we provide no information about what z_timestamp_t is, making it completely useless for c-users. I think it would probably make sense to provide at least some context (like that z_timestamp_t::time is a time since Unix Epoch in ntp64 format) and maybe a couple of api to convert from/to now available z_time_t (or simply getting/converting number of seconds/ms/us since Unix Epoch).

DenisBiryukov91 avatar Mar 14 '24 14:03 DenisBiryukov91

Timestamp definition in Zenoh: https://docs.rs/uhlc/latest/uhlc/

Mallets avatar Mar 14 '24 14:03 Mallets