Waiter requires timestamp#
const bool requireTimestamps = true;
NvSciSyncAttrKeyValuePair keyValue[] = {
// ...
// other attributes
// ...
{ .attrKey = NvSciSyncAttrKey_WaiterRequireTimestamps,
.value = (void*) &requireTimestamps,
.len = sizeof(bool),
},
// ...
// other attributes
// ...
};
During reconciliation, if the signaler supports timestamp, this feature is enabled. If the waiter doesn’t require timestamp, then this feature is disabled. If the waiter requires a timestamp but the signaler doesn’t support it, then the reconciliation fails.
During the streaming phase, the waiter can obtain the timestamp value by calling NvSciSyncFenceGetTimestamp on an expired fence.