fclProfiler Derived Type

type, public :: fclProfiler

Helper type to collect objects (kernels and buffers) that are profiled to simply user code.


Contents


Components

Type Visibility Attributes Name Initial
type(fclDevice), public :: device

Device for which to dump profile data


Type-Bound Procedures

procedure, public, pass :: add => fclProfilerAdd_1

  • public module subroutine fclProfilerAdd_1(profiler, profileSize, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9)

    Enable profiling for multiple container (kernel/buffer) and add to profiler collection

    Arguments

    Type IntentOptional Attributes Name
    class(fclProfiler), intent(inout) :: profiler

    Profiler - collection of objects to profile

    integer, intent(in) :: profileSize

    Number of events to save for profiling (allocation size)

    class(fclProfileContainer), intent(inout), target :: c0

    Object (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c1

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c2

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c3

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c4

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c5

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c6

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c7

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c8

    Subsequent objects (kernel/buffer) for which to enable profiling

    class(fclProfileContainer), intent(inout), optional, target :: c9

    Subsequent objects (kernel/buffer) for which to enable profiling