フェーズ終了時刻との差分を累積する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i32), | intent(in) | :: | region_id | |||
| real(kind=dp), | intent(in) | :: | t0 |
subroutine perf_region_end(region_id, t0) integer(i32), intent(in) :: region_id real(dp), intent(in) :: t0 if (.not. perf_state%enabled) return if (.not. valid_region(region_id)) return call perf_add_elapsed(region_id, perf_wall_time_seconds() - t0) end subroutine perf_region_end