Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psTrace.h File Reference


Detailed Description

basic run-time trace facilities

This file will hold the prototypes for defining procedures to insert trace messages into the code.

Author:
Robert Lupton, Princeton University

GLG, MHPCC

Version:
Revision
1.39
Name
rel7
Date:
Date
2005/09/13 00:54:15
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psTrace.h.

#include <stdarg.h>

Include dependency graph for psTrace.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PS_TRACE_H   1
#define PS_UNKNOWN_TRACE_LEVEL   -9999
#define PS_DEFAULT_TRACE_LEVEL   -1
#define PS_THE_OTHER_DEFAULT_TRACE_LEVEL   0
#define PS_TRACE_ON   1
 Functions.

Typedefs

typedef p_psComponent p_psComponent
 Basic structure for the component tree.

Functions

bool psTraceSetFormat (const char *format)
 This procedure sets the trace format for future trace messages.
void psTrace (const char *facil, int level, const char *format,...)
 Sends a trace message.
int psTraceSetLevel (const char *facil, int level)
 Set trace level.
int psTraceGetLevel (const char *facil)
 Get the trace level.
void psTraceReset ()
 Set all trace levels to zero (do not free nodes in the component tree).
void psTracePrintLevels (void)
 print trace levels
void psTraceSetDestination (int fd)
 Set the destination of future trace messages.
int psTraceGetDestination (void)
 Get the current destination for trace messages.


Define Documentation

#define PS_DEFAULT_TRACE_LEVEL   -1
 

Definition at line 21 of file psTrace.h.

#define PS_THE_OTHER_DEFAULT_TRACE_LEVEL   0
 

Definition at line 22 of file psTrace.h.

#define PS_TRACE_H   1
 

Definition at line 17 of file psTrace.h.

#define PS_UNKNOWN_TRACE_LEVEL   -9999
 

Definition at line 20 of file psTrace.h.


Generated on Wed Sep 14 10:43:33 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2