|
| 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.
|
|
| procedure, pass(this), private | grow (this) |
| | Double the number of regions, keeping the recorded ones.
|
Definition at line 57 of file runtime_statistics.f90.
◆ end_region()
| 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 ) |
- Parameters
-
| name | Optional name of the region to close. |
| region_id | Optional id of the region to close. |
Definition at line 71 of file runtime_statistics.f90.
◆ find_region_id()
| 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 ) |
The table is grown when no free region is left.
- Parameters
-
| name | Name of the region, compared by its first RT_STATS_MAX_NAME_LEN characters. |
| region_id | Id of the region found or allocated. |
Definition at line 74 of file runtime_statistics.f90.
◆ free()
| procedure, pass(this), public runtime_stats::runtime_stats_t::free |
( |
class(runtime_stats_t), intent(inout) | this | ) |
|
◆ grow()
| procedure, pass(this), private runtime_stats::runtime_stats_t::grow |
( |
class(runtime_stats_t), intent(inout) | this | ) |
|
|
private |
◆ init()
| procedure, pass(this), public runtime_stats::runtime_stats_t::init |
( |
class(runtime_stats_t), intent(inout) | this, |
|
|
type(json_file), intent(inout) | params ) |
◆ report()
| procedure, pass(this), public runtime_stats::runtime_stats_t::report |
( |
class(runtime_stats_t), intent(inout) | this | ) |
|
◆ start_region()
| 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 ) |
◆ elapsed_time
| type(stack_r8_t), dimension(:), allocatable runtime_stats::runtime_stats_t::elapsed_time |
◆ enabled
| logical runtime_stats::runtime_stats_t::enabled = .false. |
◆ output_profile
| logical runtime_stats::runtime_stats_t::output_profile = .false. |
◆ region_timestamp
◆ rt_stats_id
| character(len=rt_stats_max_name_len), dimension(:), allocatable runtime_stats::runtime_stats_t::rt_stats_id |
|
private |
The documentation for this type was generated from the following file: