| [658] | 1 | /***************************************************************************
 | 
|---|
 | 2 |  * blitz/tau.h       Integration with the Tau profiling package.
 | 
|---|
 | 3 |  *                   See http://www.acl.lanl.gov/tau/
 | 
|---|
 | 4 |  *
 | 
|---|
 | 5 |  * $Id: tau.h,v 1.1.1.1 1999-11-26 16:37:04 ansari Exp $
 | 
|---|
 | 6 |  *
 | 
|---|
 | 7 |  * Copyright (C) 1997,1998 Todd Veldhuizen <tveldhui@seurat.uwaterloo.ca>
 | 
|---|
 | 8 |  *
 | 
|---|
 | 9 |  * This program is free software; you can redistribute it and/or
 | 
|---|
 | 10 |  * modify it under the terms of the GNU General Public License
 | 
|---|
 | 11 |  * as published by the Free Software Foundation; either version 2
 | 
|---|
 | 12 |  * of the License, or (at your option) any later version.
 | 
|---|
 | 13 |  *
 | 
|---|
 | 14 |  * This program is distributed in the hope that it will be useful,
 | 
|---|
 | 15 |  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
|---|
 | 16 |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
|---|
 | 17 |  * GNU General Public License for more details.
 | 
|---|
 | 18 |  *
 | 
|---|
 | 19 |  * Suggestions:          blitz-suggest@cybervision.com
 | 
|---|
 | 20 |  * Bugs:                 blitz-bugs@cybervision.com
 | 
|---|
 | 21 |  *
 | 
|---|
 | 22 |  * For more information, please see the Blitz++ Home Page:
 | 
|---|
 | 23 |  *    http://seurat.uwaterloo.ca/blitz/
 | 
|---|
 | 24 |  *
 | 
|---|
 | 25 |  ***************************************************************************
 | 
|---|
 | 26 |  * $Log: not supported by cvs2svn $
 | 
|---|
 | 27 |  * Revision 1.1.1.1  1999/04/09  17:58:58  ansari
 | 
|---|
 | 28 |  * Creation module DPC/Blitz (blitz 0.4) Reza 09/04/99
 | 
|---|
 | 29 |  *
 | 
|---|
 | 30 |  * Revision 1.2  1998/03/14 00:04:47  tveldhui
 | 
|---|
 | 31 |  * 0.2-alpha-05
 | 
|---|
 | 32 |  *
 | 
|---|
 | 33 |  */
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | #ifndef BZ_TAU_H
 | 
|---|
 | 36 | #define BZ_TAU_H
 | 
|---|
 | 37 | 
 | 
|---|
 | 38 | #ifdef BZ_TAU_PROFILING
 | 
|---|
 | 39 |  #define TAU_BLITZ  TAU_USER1
 | 
|---|
 | 40 |  #include <Profile/Profiler.h>
 | 
|---|
 | 41 | 
 | 
|---|
 | 42 | #else
 | 
|---|
 | 43 |  #define TYPE_STRING(profileString, str)
 | 
|---|
 | 44 |  #define PROFILED_BLOCK(name, type)
 | 
|---|
 | 45 |  #define TAU_TYPE_STRING(profileString, str)
 | 
|---|
 | 46 |  #define TAU_PROFILE(name, type, group)
 | 
|---|
 | 47 |  #define TAU_PROFILE_TIMER(var, name, type, group)
 | 
|---|
 | 48 |  #define TAU_PROFILE_START(var)
 | 
|---|
 | 49 |  #define TAU_PROFILE_STOP(var)
 | 
|---|
 | 50 |  #define TAU_PROFILE_STMT(stmt)
 | 
|---|
 | 51 |  #define TAU_PROFILE_EXIT(msg)
 | 
|---|
 | 52 |  #define TAU_PROFILE_INIT(argc, argv)
 | 
|---|
 | 53 |  #define TAU_PROFILE_SET_NODE(node)
 | 
|---|
 | 54 |  #define CT(obj)
 | 
|---|
 | 55 | #endif // ! BZ_TAU_PROFILING
 | 
|---|
 | 56 | 
 | 
|---|
 | 57 | #endif // BZ_TAU_H
 | 
|---|