Stops the timer and optionally returns result as 8-byte real in
duration
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(timer_type), | intent(inout) | :: | timer |
Timer type. |
||
real(kind=r8), | intent(out), | optional | :: | duration |
Elapsed time between start and stop [sec]. |