Changeset 12284 for trunk/psLib/src/sys/psTrace.h
- Timestamp:
- Mar 6, 2007, 2:10:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psTrace.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psTrace.h
r11694 r12284 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2007-0 2-08 01:59:28 $11 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2007-03-07 00:10:28 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 40 40 // XXX EAM : the old 'empty' values of (void) 0 are dangerous 41 41 # if defined(PS_NO_TRACE) 42 # define psTrace(facil, level, ...) /* do nothing */43 # define p_psTrace(facil, level, ...) /* do nothing */44 # define psTraceSetLevel(facil,level) /* do nothing */45 # define psTraceGetLevel(facil) -INFINITY /* really really low level */46 # define psTraceReset() /* do nothing */47 # define psTraceFree() /* do nothing */48 # define psTracePrintLevels() /* do nothing */49 # define psTraceSetDestination(fp) /* do nothing */50 # define psTraceGetDestination() 2 /* destination is stderr */51 # define psTraceSetFormat(format) /* do nothing */52 # define PS_TRACE_ON 042 # define psTrace(facil, level, ...) /* do nothing */ 43 # define p_psTrace(facil, level, ...) /* do nothing */ 44 # define psTraceSetLevel(facil,level) /* do nothing */ 45 # define psTraceGetLevel(facil) -INFINITY /* really really low level */ 46 # define psTraceReset() /* do nothing */ 47 # define psTraceFree() /* do nothing */ 48 # define psTracePrintLevels() /* do nothing */ 49 # define psTraceSetDestination(fp) /* do nothing */ 50 # define psTraceGetDestination() 2 /* destination is stderr */ 51 # define psTraceSetFormat(format) /* do nothing */ 52 # define PS_TRACE_ON 0 53 53 54 # else /* PS_NO_TRACE */55 # define PS_TRACE_ON 154 # else /* PS_NO_TRACE */ 55 # define PS_TRACE_ON 1 56 56 57 /** Basic structure for the component tree. A component is a string of the58 form aaa.bbb.ccc, and may itself contain further subcomponents. The59 Component structure doesn't in fact contain it's full name, but only the60 last part. */61 typedef struct p_psComponent62 {63 const char *name; ///< last part of name of component64 psS32 level; ///< trace level for this component65 bool p_psSpecified; ///< whether the component is specified66 psS32 n; ///< number of subcomponents67 struct p_psComponent* *subcomp; ///< next level of subcomponents68 }57 /** Basic structure for the component tree. A component is a string of the 58 form aaa.bbb.ccc, and may itself contain further subcomponents. The 59 Component structure doesn't in fact contain it's full name, but only the 60 last part. */ 61 typedef struct p_psComponent 62 { 63 const char *name; ///< last part of name of component 64 psS32 level; ///< trace level for this component 65 bool p_psSpecified; ///< whether the component is specified 66 psS32 n; ///< number of subcomponents 67 struct p_psComponent* *subcomp; ///< next level of subcomponents 68 } 69 69 p_psComponent; 70 70
Note:
See TracChangeset
for help on using the changeset viewer.
