warp.get_event_elapsed_time#
- warp.get_event_elapsed_time(start_event, end_event, synchronize=True)[source]#
Get the elapsed time between two recorded events.
Both events must have been previously recorded with
record_event()orwarp.Stream.record_event().If
synchronizeis False, the caller must ensure that device execution has reachedend_eventprior to callingget_event_elapsed_time().