[221] | 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-04-09 17:58:58 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.2 1998/03/14 00:04:47 tveldhui
|
---|
| 28 | * 0.2-alpha-05
|
---|
| 29 | *
|
---|
| 30 | */
|
---|
| 31 |
|
---|
| 32 | #ifndef BZ_TAU_H
|
---|
| 33 | #define BZ_TAU_H
|
---|
| 34 |
|
---|
| 35 | #ifdef BZ_TAU_PROFILING
|
---|
| 36 | #define TAU_BLITZ TAU_USER1
|
---|
| 37 | #include <Profile/Profiler.h>
|
---|
| 38 |
|
---|
| 39 | #else
|
---|
| 40 | #define TYPE_STRING(profileString, str)
|
---|
| 41 | #define PROFILED_BLOCK(name, type)
|
---|
| 42 | #define TAU_TYPE_STRING(profileString, str)
|
---|
| 43 | #define TAU_PROFILE(name, type, group)
|
---|
| 44 | #define TAU_PROFILE_TIMER(var, name, type, group)
|
---|
| 45 | #define TAU_PROFILE_START(var)
|
---|
| 46 | #define TAU_PROFILE_STOP(var)
|
---|
| 47 | #define TAU_PROFILE_STMT(stmt)
|
---|
| 48 | #define TAU_PROFILE_EXIT(msg)
|
---|
| 49 | #define TAU_PROFILE_INIT(argc, argv)
|
---|
| 50 | #define TAU_PROFILE_SET_NODE(node)
|
---|
| 51 | #define CT(obj)
|
---|
| 52 | #endif // ! BZ_TAU_PROFILING
|
---|
| 53 |
|
---|
| 54 | #endif // BZ_TAU_H
|
---|