Skip to content

Commit

Permalink
fortran config: remove injected comment but comment yaml file to explain
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Feb 12, 2025
1 parent 5606190 commit 24b53cc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions config_files/tau_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,37 @@ Fortran:
# Config variables:
# ${full_timer_name}: "procedure_name [file_path {start}-{end}]"
instrumentation: tauFortran
# use YAML block literal style with indentation indicators
# see https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines
# Editors might complain about the indentation, but it is correct
program_insert:
- |-2
! SALT-FM injected TAU instrumentation
integer, save :: tauProfileTimer(2) = [0, 0]
call TAU_PROFILE_INIT()
call TAU_PROFILE_TIMER(tauProfileTimer, "${full_timer_name}&
&")
call TAU_PROFILE_START(tauProfileTimer)
#ifndef TAU_MPI
call TAU_PROFILE_SET_NODE(0)
call TAU_PROFILE_SET_NODE(0)
#endif
procedure_begin_insert:
- |-2
! SALT-FM injected TAU instrumentation
integer, save :: tauProfileTimer(2) = [0, 0]
call TAU_PROFILE_TIMER(tauProfileTimer, "${full_timer_name}&
&")
call TAU_PROFILE_START(tauProfileTimer)
procedure_end_insert:
- |-2
! SALT-FM injected TAU instrumentation
call TAU_PROFILE_STOP(tauProfileTimer)
pure_procedure_begin_insert:
- |-2
! SALT-FM injected TAU instrumentation
call TAU_START("&${full_timer_name}&
&")
pure_procedure_end_insert:
- |-2
! SALT-FM injected TAU instrumentation
call TAU_STOP("${full_timer_name}&
&")

0 comments on commit 24b53cc

Please sign in to comment.