Changeset 1393 for trunk/psLib/src/sysUtils/psTrace.c
- Timestamp:
- Aug 5, 2004, 9:38:52 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psTrace.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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, ".");
Note:
See TracChangeset
for help on using the changeset viewer.
