Home
last modified time | relevance | path

Searched refs:ppstimes (Results 1 – 2 of 2) sorted by relevance

/dports/astro/gpsd/gpsd-3.20/
H A Dppsthread.c1148 struct timedelta_t ppstimes; in gpsd_ppsmonitor() local
1164 ppstimes.real.tv_sec = (time_t)last_fixtime.real.tv_sec + 1; in gpsd_ppsmonitor()
1165 ppstimes.real.tv_nsec = 0; /* need to be fixed for 5Hz */ in gpsd_ppsmonitor()
1166 ppstimes.clock = clock_ts; in gpsd_ppsmonitor()
1170 TS_SUB( &offset, &ppstimes.real, &ppstimes.clock); in gpsd_ppsmonitor()
1171 TS_SUB( &delay, &ppstimes.clock, &last_fixtime.clock); in gpsd_ppsmonitor()
1204 log1 = thread_context->report_hook(thread_context, &ppstimes); in gpsd_ppsmonitor()
1208 thread_context->pps_out = ppstimes; in gpsd_ppsmonitor()
1215 timespec_str(&ppstimes.clock, ts_str1, sizeof(ts_str1)), in gpsd_ppsmonitor()
1216 timespec_str(&ppstimes.real, ts_str2, sizeof(ts_str2)), in gpsd_ppsmonitor()
H A Dgpsmon.c255 struct timedelta_t ppstimes; in pps_update() local
258 if (pps_thread_ppsout(&session.pps_thread, &ppstimes) > 0) { in pps_update()
268 TS_SUB( &timedelta, &ppstimes.clock, &ppstimes.real); in pps_update()