Searched refs:time1 (Results 1 – 2 of 2) sorted by relevance
46 uint64_t tmp1 = sync->time1[0]; in time_sync_truncate()50 sync->time1[m] = sync->time1[m + 1]; in time_sync_truncate()53 sync->time1[NUM_TIME_SYNC_DATAPOINTS - 1] = tmp1; in time_sync_truncate()60 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2) { in time_sync_add() argument63 sync->time1[i] = time1; in time_sync_add()87 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1) in time_sync_estimate_time1() argument94 *time1 = 0; in time_sync_estimate_time1()108 uint64_t time1_base = sync->time1[i]; in time_sync_estimate_time1()119 mean_y += floatFromUint64(sync->time1[ii] - time1_base) * invN; in time_sync_estimate_time1()134 float y = floatFromUint64(sync->time1[ii] - time1_base) - mean_y; in time_sync_estimate_time1()[all …]
32 uint64_t time1[NUM_TIME_SYNC_DATAPOINTS]; member50 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2);51 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1);