Poster of Linux kernelThe best gift for a Linux geek
TAU_GLOBAL_TIMER_STA

TAU_GLOBAL_TIMER_STA

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

NAME

TAU_GLOBAL_TIMER_START - Starts a global timer  

SYNOPSIS

C/C++:

TAU_GLOBAL_TIMER_START(Profiler timer);
 

DESCRIPTION

TAU_GLOBAL_TIMER_START starts a global timer.  

EXAMPLE

C/C++ :

/* f1.c */

TAU_GLOBAL_TIMER(globalTimer, "global timer", "", TAU_USER);

/* f2.c */

TAU_GLOBAL_TIMER_EXTERNAL(globalTimer);
int foo(void) {
  TAU_GLOBAL_TIMER_START(globalTimer);
  /* ... */
  TAU_GLOBAL_TIMER_STOP();
}
    
 

SEE ALSO

TAU_GLOBAL_TIMER(3), TAU_GLOBAL_TIMER_EXTERNAL, TAU_GLOBAL_TIMER_STOP(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO

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