Name

TAU_PROFILE_DYNAMIC_ITER — Creates a dynamic timer in Fortran.

Synopsis

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

description

TAU_PROFILE_DYNAMIC_ITER creates a dynamic timer the name of the timer is appended by the iterator.

example

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