ORB5  v4.9.4
profiler Module Reference

Simple interface to Score-P for profiling ORB5. More...

Functions/Subroutines

subroutine, public profiler_on
 Activate the profiling (ON by default) More...
 
subroutine, public profiler_off
 Deactivate the profiling (ON by default) More...
 
subroutine, public profiler_begin_region (region_name)
 Begin profiling for a specific region. More...
 
subroutine, public profiler_end_region (region_name)
 End profiling for a specific region. More...
 
subroutine write_species_to_string (isp, str)
 Write species number to a string. More...
 
subroutine, public profiler_begin_region_species (isp)
 Open a subregion for a peculiar species. More...
 
subroutine, public profiler_end_region_species (isp)
 Close a subregion for a peculiar species. More...
 

Detailed Description

Simple interface to Score-P for profiling ORB5.

Author
Emmanuel Lanti
Date
04/2017

This module provides a simple interface to Score-P for profiling ORB5. If the profiling is not activated at compile time, this module will essentially not do anything to avoid perturbing the simulation with unnessecary directives. Note that when profiling the code, some slow-downs due to Score-P overhead may be observed.

Function/Subroutine Documentation

◆ profiler_begin_region()

subroutine, public profiler::profiler_begin_region ( character(len=*), intent(in)  region_name)

Begin profiling for a specific region.

Author
Emmanuel Lanti
Date
04/2017

Open a new region of code to profile referred to as region_name. Note that if this routine is called several times with the same region_name, the timings will be combined.

Parameters
[in]region_nameName of the specific region to profile

◆ profiler_begin_region_species()

subroutine, public profiler::profiler_begin_region_species ( integer, intent(in)  isp)

Open a subregion for a peculiar species.

Author
N. Ohana
Date
04/2017
Parameters
[in]ispSpecies number
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ profiler_end_region()

subroutine, public profiler::profiler_end_region ( character(len=*), intent(in)  region_name)

End profiling for a specific region.

Author
Emmanuel Lanti
Date
04/2017
Parameters
[in]region_nameName of the specific region to profile

◆ profiler_end_region_species()

subroutine, public profiler::profiler_end_region_species ( integer, intent(in)  isp)

Close a subregion for a peculiar species.

Author
N. Ohana
Date
04/2017
Parameters
[in]ispSpecies number
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ profiler_off()

subroutine, public profiler::profiler_off

Deactivate the profiling (ON by default)

Author
Emmanuel Lanti
Date
04/2017

◆ profiler_on()

subroutine, public profiler::profiler_on

Activate the profiling (ON by default)

Author
Emmanuel Lanti
Date
04/2017

◆ write_species_to_string()

subroutine profiler::write_species_to_string ( integer, intent(in)  isp,
character(len=*), intent(out)  str 
)
private

Write species number to a string.

Author
N. Ohana
Date
04/2017
Parameters
[in]ispSpecies number
[out]strSpecies number string
+ Here is the caller graph for this function: