source: XMLIO_V2/external/include/blitz/tau.h @ 80

Last change on this file since 80 was 80, checked in by ymipsl, 14 years ago

ajout lib externe

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
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.3 2003/01/14 11:29:18 patricg Exp $
6 *
7 * Copyright (C) 1997-2001 Todd Veldhuizen <tveldhui@oonumerics.org>
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-dev@oonumerics.org
20 * Bugs:                 blitz-bugs@oonumerics.org
21 *
22 * For more information, please see the Blitz++ Home Page:
23 *    http://oonumerics.org/blitz/
24 *
25 ***************************************************************************/
26
27#ifndef BZ_TAU_H
28#define BZ_TAU_H
29
30#ifdef BZ_TAU_PROFILING
31 #define TAU_BLITZ  TAU_USER1
32 #include <Profile/Profiler.h>
33
34#else
35 #define TYPE_STRING(profileString, str)
36 #define PROFILED_BLOCK(name, type)
37 #define TAU_TYPE_STRING(profileString, str)
38 #define TAU_PROFILE(name, type, group)
39 #define TAU_PROFILE_TIMER(var, name, type, group)
40 #define TAU_PROFILE_START(var)
41 #define TAU_PROFILE_STOP(var)
42 #define TAU_PROFILE_STMT(stmt)
43 #define TAU_PROFILE_EXIT(msg)
44 #define TAU_PROFILE_INIT(argc, argv)
45 #define TAU_PROFILE_SET_NODE(node)
46 #define CT(obj)
47#endif // ! BZ_TAU_PROFILING
48
49#endif // BZ_TAU_H
Note: See TracBrowser for help on using the repository browser.