Poster of Linux kernelThe best gift for a Linux geek
TAU_PROFILE_START

TAU_PROFILE_START

Section: TAU Instrumentation API (3) Updated: 08/31/2005
Local index Up
 

NAME

TAU_PROFILE_START - Starts a timer.  

SYNOPSIS

C/C++:

TAU_PROFILE_START(Profiler timer);

Fortran:

TAU_PROFILE_START(integer profiler(2));
 

DESCRIPTION

Starts the timer given by timer  

EXAMPLE

C/C++ :

int foo(int a) {
  TAU_PROFILE_TIMER(timer, "foo", "int (int)", TAU_USER);
  TAU_PROFILE_START(timer);
  ...
  TAU_PROFILE_STOP(timer);
  return a;
}
    

Fortran :

subroutine F1()
  integer profiler(2) / 0, 0 /
  save    profiler

  call TAU_PROFILE_TIMER(profiler,'f1()')
  call TAU_PROFILE_START(profiler)
  ...
  call TAU_PROFILE_STOP(profiler)
end
  
 

SEE ALSO

TAU_PROFILE_TIMER(3), TAU_PROFILE_STOP(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:56:49 GMT, April 16, 2011