BW_Benchmark Derived Type

type, public :: BW_Benchmark


Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: filename
real, public, allocatable :: buffer(:)

Type-Bound Procedures

procedure, public :: run

  • private subroutine run(this, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(BW_Benchmark), intent(in) :: this
    integer, intent(out), optional :: rc

Source Code

   type :: BW_Benchmark
      real, allocatable :: buffer(:)
      character(:), allocatable :: filename
   contains
      procedure :: run
   end type BW_Benchmark