Computes the elapsed time between two events.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=c_float) | :: | time |
Elapsed time in milliseconds |
|||
type(cudaEvent), | value | :: | start |
Starting event |
||
type(cudaEvent), | value | :: | end |
Ending event |
Returns cudaSuccess
if the elapsed time was computed successfully,
or an error code if there was an issue.