Searched refs:apTime (Results 1 – 3 of 3) sorted by relevance
45 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime) { in apHubSyncAddDelta() argument47 int64_t delta = apTime - hubTime; in apHubSyncAddDelta()50 if (apTime > sync->lastTs + SYNC_EXPIRATION || sync->lastTs == 0) { in apHubSyncAddDelta()54 sync->lastTs = apTime; in apHubSyncAddDelta()59 sync->windowTimeout = apTime + SYNC_WINDOW_TIMEOUT; in apHubSyncAddDelta()64 if (apTime > sync->windowTimeout) { in apHubSyncAddDelta()80 sync->windowTimeout = apTime + SYNC_WINDOW_TIMEOUT; in apHubSyncAddDelta()
54 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime);
720 static void addDelta(struct ApHubSync *sync, uint64_t apTime, uint64_t hubTime) in addDelta() argument723 syncDebugAdd(apTime, hubTime); in addDelta()725 apHubSyncAddDelta(sync, apTime, hubTime); in addDelta()