Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
runtime_stats::runtime_stats_t Type Reference
Collaboration diagram for runtime_stats::runtime_stats_t:

Public Member Functions

procedure, pass(thisinit (this, params)
 Initialise runtime statistics.
 
procedure, pass(thisfree (this)
 Destroy runtime statistics.
 
procedure, pass(thisstart_region (this, name, region_id)
 Start measuring time for the region named name with id region_id.
 
procedure, pass(thisend_region (this, name, region_id)
 Compute elapsed time for the current region.
 
procedure, pass(thisreport (this)
 Report runtime statistics for all recorded regions.
 

Public Attributes

character(len=19), dimension(:), allocatable rt_stats_id
 Name of measured region.
 
type(stack_r8_t), dimension(:), allocatable elapsed_time_
 Elapsed time for each measured region.
 
type(stack_i4r8t2_tregion_timestamp_
 Stack to hold current active region timestamps.
 
logical enabled_
 
logical output_profile_
 

Detailed Description

Definition at line 50 of file runtime_statistics.f90.

Member Function/Subroutine Documentation

◆ end_region()

procedure, pass(this) runtime_stats::runtime_stats_t::end_region ( class(runtime_stats_t), intent(inout this,
character(len=*)  name,
integer, intent(in region_id 
)

Definition at line 63 of file runtime_statistics.f90.

◆ free()

procedure, pass(this) runtime_stats::runtime_stats_t::free ( class(runtime_stats_t), intent(inout this)

Definition at line 61 of file runtime_statistics.f90.

◆ init()

procedure, pass(this) runtime_stats::runtime_stats_t::init ( class(runtime_stats_t), intent(inout this,
type(json_file), intent(inout params 
)

Definition at line 60 of file runtime_statistics.f90.

◆ report()

procedure, pass(this) runtime_stats::runtime_stats_t::report ( class(runtime_stats_t), intent(inout this)

Definition at line 64 of file runtime_statistics.f90.

◆ start_region()

procedure, pass(this) runtime_stats::runtime_stats_t::start_region ( class(runtime_stats_t), intent(inout this,
character(len=*)  name,
integer, intent(in region_id 
)

Definition at line 62 of file runtime_statistics.f90.

Member Data Documentation

◆ elapsed_time_

type(stack_r8_t), dimension(:), allocatable runtime_stats::runtime_stats_t::elapsed_time_

Definition at line 54 of file runtime_statistics.f90.

◆ enabled_

logical runtime_stats::runtime_stats_t::enabled_

Definition at line 57 of file runtime_statistics.f90.

◆ output_profile_

logical runtime_stats::runtime_stats_t::output_profile_

Definition at line 58 of file runtime_statistics.f90.

◆ region_timestamp_

type(stack_i4r8t2_t) runtime_stats::runtime_stats_t::region_timestamp_

Definition at line 56 of file runtime_statistics.f90.

◆ rt_stats_id

character(len=19), dimension(:), allocatable runtime_stats::runtime_stats_t::rt_stats_id

Definition at line 52 of file runtime_statistics.f90.


The documentation for this type was generated from the following file: