syntax = "proto3";
package celp.protobuf.se;
option optimize_for = SPEED;
message TimeSync {
// Unix time in microseconds (converted from time reported by NTP server)
// UNIX time epoch us values may be in uint32 format in code, but will
// need to be converted to uint64 to keep in line with currently
// existing us time fields.
// This is the number of us since 1st Jan 1970.
uint64 unix_time_us = 1;
// The delta of us between the current system time and time retrieved from
// NTP server
// Using a 64-bit integer here so that we can track +/- delta in time.
int64 unix_ntp_delta_us = 2;
}