cupy.cuda.get_elapsed_time#

cupy.cuda.get_elapsed_time(start_event, end_event)#

Gets the elapsed time between two events.

Parameters:
  • start_event (Event) – Earlier event.

  • end_event (Event) – Later event.

Returns:

Elapsed time in milliseconds.

Return type:

float