Name

TAU_PHASE_DYNAMIC_ITER — Creates a dynamic phase in Fortran.

Synopsis

TAU_PHASE_DYNAMIC_ITER( iterator,  
  timer,  
  name);  
integer   iterator;
integer   timer(2);
character   name(size);

description

TAU_PHASE_DYNAMIC_ITER creates a dynamic phase the name of which is appended by the iterator.

example

          integer tau_iter / 0 /
  save tau_iter
  tau_iter = tau_iter + 1
  call TAU_PHASE_DYNAMIC_ITER(tau_iter, profiler, '                 &
 &FOO1 [{foo.f90} {16,18}]')
  call TAU_PHASE_START(profiler)
  print *, "inside foo1: calling bar, x = ", x
  call bar(x-1)
  print *, "after calling bar"
  call TAU_PROFILE_STOP(profiler)