Start timing the routine with a given name. This procedure will start tracking the execution time of a given function in a call stack tree. Subsequent calls to this function will create additional entries in the call stack that are going to be shown as children of the original routine.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name | Name of the function to time. |
subroutine timer_start(name)
!> Name of the function to time.
character(len=*), intent(in) :: name
current_entry => timer%start(current_entry, name)
end subroutine timer_start