Name

TAU_STOP — Stops a timer.

Synopsis

C/C++:

TAU_STOP(name);
char* name;

Fortran:

TAU_STOP(name);
character name(2);

Description

Stops the timer given by timer. It is important to note that timers can be nested, but not overlapping. TAU detects programming errors that lead to such overlaps at runtime, and prints a warning message.

Example

C/C++ :

int foo(int a) {
  TAU_START("t1");
  ...
  TAU_STOP("t2");
  return a;
}
    

Fortran :

subroutine F1()
  character(13) cvar

  write (cvar,'(a9,i2)') 'Iteration', val
  call TAU_START(cvar)
  ...
  call TAU_STOP(cvar)
end