Home
last modified time | relevance | path

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

/external/trace-cmd/lib/trace-cmd/
Dtrace-timesync-ptp.c278 struct ptp_clock_sample *sample_send; in ptp_calc_offset_fastest() local
287 sample_send = server->samples + (server->count / 2); in ptp_calc_offset_fastest()
291 if (!good_probe(&server->samples[i], &sample_send[i], in ptp_calc_offset_fastest()
294 ts = (sample_send[i].ts + server->samples[i].ts) / 2; in ptp_calc_offset_fastest()
297 delta = server->samples[i].ts - sample_send[i].ts; in ptp_calc_offset_fastest()
328 struct ptp_clock_sample *sample_send; in ptp_calc_offset_hist() local
340 sample_send = server->samples + (server->count / 2); in ptp_calc_offset_hist()
342 if (!good_probe(&server->samples[i], &sample_send[i], in ptp_calc_offset_hist()
345 timestamps[k] = (sample_send[i].ts + server->samples[i].ts) / 2; in ptp_calc_offset_hist()