timer_start Subroutine

public subroutine timer_start(name)

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.

Arguments

TypeIntentOptionalAttributesName
character(len=*), intent(in) :: name

Name of the function to time.


Contents

Source Code


Source Code

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