Skip to content

Commit

Permalink
Added Fortran instrumentation config file
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Dec 3, 2024
1 parent b52ecf3 commit ccc547b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config_files/tau_fortran_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Config variables:
# ${full_timer_name}: "procedure_name [file_path {start}-{end}]"

instrumentation: tauFortran

main_insert:
- " 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);"
- "#endif ! TAU_MPI
procedure_begin_insert:
- " integer, save :: tauProfileTimer(2) = [0, 0]"
- " call tau_profile_timer(tauProfileTimer, &"
- " \"${full_timer_name}\")"
- " call tau_profile_start(tauProfileTimer)"

procedure_end_insert:
- " call tau_profile_stop(tauProfileTimer)"

0 comments on commit ccc547b

Please sign in to comment.