Changeset 1393 for trunk/psLib/src/sysUtils
- Timestamp:
- Aug 5, 2004, 9:38:52 AM (22 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 1 deleted
- 3 edited
-
psErrorCodes.h (deleted)
-
psLogMsg.c (modified) (2 diffs)
-
psTrace.c (modified) (7 diffs)
-
psTrace.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psLogMsg.c
r1385 r1393 11 11 * @author George Gusciora, MHPCC 12 12 * 13 * @version $Revision: 1.2 1$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-08-0 4 23:37:39$13 * @version $Revision: 1.22 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-08-05 19:38:52 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 38 38 #include "psLogMsg.h" 39 39 #include "psError.h" 40 #include "psErrorCodes.h"41 40 #include "psTrace.h" 42 41 -
trunk/psLib/src/sysUtils/psTrace.c
r1385 r1393 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-08-0 4 23:37:39$11 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-05 19:38:52 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 92 92 { 93 93 if (p_psCroot == NULL) { 94 p_psCroot = componentAlloc(".", DEFAULT_TRACE_LEVEL);94 p_psCroot = componentAlloc(".", PS_DEFAULT_TRACE_LEVEL); 95 95 } 96 96 } … … 248 248 249 249 if (NULL == currentNode) { 250 return( UNKNOWN_TRACE_LEVEL);250 return(PS_UNKNOWN_TRACE_LEVEL); 251 251 } 252 252 … … 256 256 257 257 if (aname[0] != '.') { 258 return( UNKNOWN_TRACE_LEVEL);258 return(PS_UNKNOWN_TRACE_LEVEL); 259 259 } 260 260 … … 278 278 } 279 279 } 280 return( UNKNOWN_TRACE_LEVEL);280 return(PS_UNKNOWN_TRACE_LEVEL); 281 281 } 282 282 … … 297 297 { 298 298 if (p_psCroot == NULL) { 299 return( UNKNOWN_TRACE_LEVEL);299 return(PS_UNKNOWN_TRACE_LEVEL); 300 300 } 301 301 … … 324 324 if (comp->name[0] == '\0') { 325 325 printf("%*s%-*s %d\n", depth, "", 20 - depth, 326 "(root)", (comp->level == UNKNOWN_TRACE_LEVEL) ? 0 : comp->level);326 "(root)", (comp->level == PS_UNKNOWN_TRACE_LEVEL) ? 0 : comp->level); 327 327 } else { 328 if (comp->level == UNKNOWN_TRACE_LEVEL) {328 if (comp->level == PS_UNKNOWN_TRACE_LEVEL) { 329 329 printf("%*s%-*s %s\n", depth, "", 20 - depth, 330 330 comp->name, "."); -
trunk/psLib/src/sysUtils/psTrace.h
r1137 r1393 9 9 * @author George Gusciora, MHPCC 10 10 * 11 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-0 6-30 01:09:12 $11 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-05 19:38:52 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 17 #define PS_TRACE_H 1 18 18 19 #define UNKNOWN_TRACE_LEVEL -9999 // we don't know this name's level20 #define DEFAULT_TRACE_LEVEL 019 #define PS_UNKNOWN_TRACE_LEVEL -9999 // we don't know this name's level 20 #define PS_DEFAULT_TRACE_LEVEL 0 21 21 22 22
Note:
See TracChangeset
for help on using the changeset viewer.
