|
Neko 1.99.1
A portable framework for high-order spectral element flow simulations
|

Public Member Functions | |
| procedure, pass(this), public | init (this, params) |
| Initialise runtime statistics. | |
| procedure, pass(this), public | free (this) |
| Destroy runtime statistics. | |
| procedure, pass(this), public | start_region (this, name, region_id) |
| Start measuring time for the region named name with id region_id. | |
| procedure, pass(this), public | end_region (this, name, region_id) |
| Compute elapsed time for the current region. | |
| procedure, pass(this), public | report (this) |
| Report runtime statistics for all recorded regions. | |
| procedure, pass(this) | find_region_id (this, name, region_id) |
| Find or allocate a region id for the named region name. | |
Public Attributes | |
| type(stack_r8_t), dimension(:), allocatable | elapsed_time |
| Elapsed time for each measured region. | |
| type(stack_i4r8t2_t) | region_timestamp |
| Stack to hold current active region timestamps. | |
| logical | enabled = .false. |
| logical | output_profile = .false. |
Private Attributes | |
| character(len=rt_stats_max_name_len), dimension(:), allocatable | rt_stats_id |
| Name of measured region. | |
Definition at line 54 of file runtime_statistics.f90.
| procedure, pass(this), public runtime_stats::runtime_stats_t::end_region | ( | class(runtime_stats_t), intent(inout) | this, |
| character(len=*), intent(in), optional | name, | ||
| integer, intent(in), optional | region_id | ||
| ) |
| name | Optional name of the region to close. |
| region_id | Optional id of the region to close. |
Definition at line 68 of file runtime_statistics.f90.
| procedure, pass(this) runtime_stats::runtime_stats_t::find_region_id | ( | class(runtime_stats_t), intent(inout) | this, |
| character(len=*), intent(in) | name, | ||
| integer, intent(out) | region_id | ||
| ) |
Definition at line 71 of file runtime_statistics.f90.
| procedure, pass(this), public runtime_stats::runtime_stats_t::free | ( | class(runtime_stats_t), intent(inout) | this | ) |
Definition at line 66 of file runtime_statistics.f90.
| procedure, pass(this), public runtime_stats::runtime_stats_t::init | ( | class(runtime_stats_t), intent(inout) | this, |
| type(json_file), intent(inout) | params | ||
| ) |
Definition at line 65 of file runtime_statistics.f90.
| procedure, pass(this), public runtime_stats::runtime_stats_t::report | ( | class(runtime_stats_t), intent(inout) | this | ) |
Definition at line 69 of file runtime_statistics.f90.
| procedure, pass(this), public runtime_stats::runtime_stats_t::start_region | ( | class(runtime_stats_t), intent(inout) | this, |
| character(len=*), intent(in) | name, | ||
| integer, intent(in), optional | region_id | ||
| ) |
Definition at line 67 of file runtime_statistics.f90.
| type(stack_r8_t), dimension(:), allocatable runtime_stats::runtime_stats_t::elapsed_time |
Definition at line 59 of file runtime_statistics.f90.
| logical runtime_stats::runtime_stats_t::enabled = .false. |
Definition at line 62 of file runtime_statistics.f90.
| logical runtime_stats::runtime_stats_t::output_profile = .false. |
Definition at line 63 of file runtime_statistics.f90.
| type(stack_i4r8t2_t) runtime_stats::runtime_stats_t::region_timestamp |
Definition at line 61 of file runtime_statistics.f90.
|
private |
Definition at line 57 of file runtime_statistics.f90.