Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/
Dap_hub_sync.c45 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime) { in apHubSyncAddDelta() argument
47 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()
/device/google/contexthub/firmware/os/inc/algos/
Dap_hub_sync.h54 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime);
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c720 static void addDelta(struct ApHubSync *sync, uint64_t apTime, uint64_t hubTime) in addDelta() argument
723 syncDebugAdd(apTime, hubTime); in addDelta()
725 apHubSyncAddDelta(sync, apTime, hubTime); in addDelta()