Timestamps

NvSciSync supports timestamps in fences. They represent the time of a fence's expiration. This can help profiling the timing of streaming and debugging performance issues. This feature can be enabled during the initialization of the sync object. Then the waiter can call NvSciSyncFenceGetTimestamp to obtain the timestamp data in the streaming phase.

To enable this feature, the waiter should set NvSciSyncAttrKey_WaiterRequireTimestamps to true in its attribute list.