timer_t Derived Type

type, public :: timer_t


Contents


Components

TypeVisibilityAttributesNameInitial
integer, private :: start_time
integer, private :: program_start_time
real(kind=dp), public :: init_time
real(kind=dp), public :: matrix_time
real(kind=dp), public :: evp_time
real(kind=dp), public :: eigenfunction_time
real(kind=dp), public :: datfile_time

Type-Bound Procedures

procedure, public :: start_timer

  • private subroutine start_timer(this)

    Arguments

    TypeIntentOptionalAttributesName
    class(timer_t), intent(inout) :: this

procedure, public :: end_timer

  • private function end_timer(this) result(elapsed_time)

    Arguments

    TypeIntentOptionalAttributesName
    class(timer_t), intent(inout) :: this

    Return Value real(kind=dp)

procedure, public :: get_total_time

  • private function get_total_time(this) result(total_time)

    Arguments

    TypeIntentOptionalAttributesName
    class(timer_t), intent(in) :: this

    Return Value real(kind=dp)