tem_timer_loadconfig Subroutine

public subroutine tem_timer_loadconfig(timer_config, conf, parent)

Load the configuration for the timer output.

The user may specify how which timers are to be written. We use a timer table to describe the file to write to and the level of detail for each timer.

timer = {
  file = 'timeinfo', -- this is the default
  details = {
    {'overall', 'details'}, -- will be written to
                            -- timeinfo_overall.details
    {'init', 'summary'},    -- summary is the default
    {'output', 'ignored'}   -- will not be printed
  }
}

You might list an arbitrary number of timers with their level of detail, those which are not stated will be printed in summary form. If no timer table is given, or the file name is an empty string, no timer information will be written.

Arguments

TypeIntentOptionalAttributesName
type(tem_timerconfig_type), intent(out) :: timer_config

Timer configuration to load from the Lua configuration script.

type(flu_state) :: conf

Handle to the Lua configuration script.

integer, intent(in), optional :: parent

Handle of the table containing the requested table.


Calls

proc~~tem_timer_loadconfig~~CallsGraph proc~tem_timer_loadconfig tem_timer_loadconfig interface~append~21 append proc~tem_timer_loadconfig->interface~append~21 proc~aot_table_close~2 aot_table_close proc~tem_timer_loadconfig->proc~aot_table_close~2 proc~upper_to_lower upper_to_lower proc~tem_timer_loadconfig->proc~upper_to_lower interface~aot_get_val~2 aot_get_val proc~tem_timer_loadconfig->interface~aot_get_val~2 proc~aot_table_top aot_table_top proc~tem_timer_loadconfig->proc~aot_table_top proc~aot_table_open~2 aot_table_open proc~tem_timer_loadconfig->proc~aot_table_open~2 proc~flu_next flu_next proc~tem_timer_loadconfig->proc~flu_next proc~aot_table_first aot_table_first proc~tem_timer_loadconfig->proc~aot_table_first proc~append_da_label append_da_label interface~append~21->proc~append_da_label proc~append_da_veclabel append_da_veclabel interface~append~21->proc~append_da_veclabel interface~expand~19 expand proc~append_da_label->interface~expand~19 interface~sortedposofval~4 sortedposofval proc~append_da_label->interface~sortedposofval~4 proc~append_da_veclabel->interface~expand~19 proc~expand_da_label expand_da_label interface~expand~19->proc~expand_da_label proc~sortposofval_label sortposofval_label interface~sortedposofval~4->proc~sortposofval_label

Called by

proc~~tem_timer_loadconfig~~CalledByGraph proc~tem_timer_loadconfig tem_timer_loadconfig proc~tem_timer_loadconfig_glob tem_timer_loadconfig_glob proc~tem_timer_loadconfig_glob->proc~tem_timer_loadconfig proc~tem_load_general tem_load_general proc~tem_load_general->proc~tem_timer_loadconfig_glob proc~check_serial_multilevel_facedesc check_serial_multilevel_faceDesc proc~check_serial_multilevel_facedesc->proc~tem_load_general proc~load_env load_env proc~load_env->proc~tem_load_general proc~check_variableoperations check_variableOperations proc~check_variableoperations->proc~load_env program~tem_face_test~2 tem_face_test program~tem_face_test~2->proc~check_serial_multilevel_facedesc proc~check_serial_singlelevel_facedesc check_serial_singlelevel_faceDesc proc~check_serial_singlelevel_facedesc->proc~load_env program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->proc~load_env program~tem_variable_combine_test tem_variable_combine_Test program~tem_variable_combine_test->proc~load_env program~tem_variable_extract_test tem_variable_extract_test program~tem_variable_extract_test->proc~load_env program~tem_spacetime_fun_test tem_spacetime_fun_test program~tem_spacetime_fun_test->proc~load_env program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->proc~load_env program~tem_variable_evaltype_test tem_variable_evaltype_test program~tem_variable_evaltype_test->proc~load_env proc~check_parallel_singlelevel_facedesc check_parallel_singlelevel_faceDesc proc~check_parallel_singlelevel_facedesc->proc~load_env program~tem_varsys_derivevar_test tem_varSys_deriveVar_test program~tem_varsys_derivevar_test->proc~load_env program~tem_varsys_statevar_test tem_varSys_stateVar_test program~tem_varsys_statevar_test->proc~load_env program~tem_varsys_test tem_varSys_test program~tem_varsys_test->proc~load_env

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: timertab
integer, private :: settingtab
integer, private :: detailtab
character(len=labelLen), private :: label
character(len=labelLen), private :: verbosity
character(len=labelLen), private :: tmp
integer, private :: verbconf
integer, private :: pos
logical, private :: wasAdded
integer, private :: iError