![]() |
(git:5f3bc36)
|
Timing routines for accounting. More...
Functions/Subroutines | |
| subroutine, public | timings_register_hooks () |
| Registers handlers with base_hooks.F. | |
| subroutine, public | add_timer_env (timer_env) |
| adds the given timer_env to the top of the stack | |
| subroutine, public | rm_timer_env () |
| removes the current timer env from the stack | |
| type(timer_env_type) function, pointer, public | get_timer_env () |
| returns the current timer env from the stack | |
| subroutine, public | timer_env_retain (timer_env) |
| retains the given timer env | |
| subroutine, public | timer_env_release (timer_env) |
| releases the given timer env | |
| subroutine, public | timeset_handler (routinen, handle) |
| Start timer. | |
| subroutine, public | timestop_handler (handle) |
| End timer. | |
| subroutine, public | timings_setup_tracing (trace_max, unit_nr, trace_str, routine_names) |
| Set routine tracer. | |
| subroutine, public | print_stack (unit_nr) |
| Print current routine stack. | |
Variables | |
| integer, parameter, public | default_timings_level = 1 |
| integer, save, public | global_timings_level = default_timings_level |
| character(len=default_string_length), parameter, public | root_cp2k_name = 'CP2K' |
Timing routines for accounting.
| subroutine, public timings::timings_register_hooks |
Registers handlers with base_hooks.F.
Definition at line 78 of file timings.F.
| subroutine, public timings::add_timer_env | ( | type(timer_env_type), optional, pointer | timer_env | ) |
adds the given timer_env to the top of the stack
| timer_env | ... |
Definition at line 92 of file timings.F.
| subroutine, public timings::rm_timer_env |
removes the current timer env from the stack
Definition at line 133 of file timings.F.
| type(timer_env_type) function, pointer, public timings::get_timer_env |
| subroutine, public timings::timer_env_retain | ( | type(timer_env_type), pointer | timer_env | ) |
| subroutine, public timings::timer_env_release | ( | type(timer_env_type), pointer | timer_env | ) |
| subroutine, public timings::timeset_handler | ( | character(len=*), intent(in) | routinen, |
| integer, intent(out) | handle | ||
| ) |
| subroutine, public timings::timestop_handler | ( | integer, intent(in) | handle | ) |
| subroutine, public timings::timings_setup_tracing | ( | integer, intent(in) | trace_max, |
| integer, intent(in) | unit_nr, | ||
| character(len=13), intent(in) | trace_str, | ||
| character(len=default_string_length), dimension(:), intent(in), optional | routine_names | ||
| ) |
Set routine tracer.
| trace_max | maximum number of calls reported per routine. Setting this to zero disables tracing. |
| unit_nr | output unit used for printing the trace-messages |
| trace_str | short info-string which is printed along with every message |
| routine_names | List of routine-names. If provided only these routines will be traced. If not present all routines will traced. |
Definition at line 397 of file timings.F.
| subroutine, public timings::print_stack | ( | integer, intent(in) | unit_nr | ) |
| integer, parameter, public timings::default_timings_level = 1 |
| integer, save, public timings::global_timings_level = default_timings_level |