pa_trace.h File Reference

Real-time safe event trace logging facility for debugging. More...

Go to the source code of this file.

Defines

#define PA_MAX_TRACE_RECORDS   (2048)
#define PaUtil_ResetTraceMessages()
#define PaUtil_AddTraceMessage(msg, data)
#define PaUtil_DumpTraceMessages()

Detailed Description

Real-time safe event trace logging facility for debugging.

Allows data to be logged to a fixed size trace buffer in a real-time execution context (such as at interrupt time). Each log entry consists of a message comprising a string pointer and an int. The trace buffer may be dumped to stdout later.

This facility is only active if PA_TRACE_REALTIME_EVENTS is set to 1, otherwise the trace functions expand to no-ops.


Define Documentation

#define PA_MAX_TRACE_RECORDS   (2048)

< Set to 1 to enable logging using the trace functions defined below Maximum number of records stored in trace buffer

#define PaUtil_AddTraceMessage ( msg,
data   ) 
 
#define PaUtil_DumpTraceMessages (  ) 

Referenced by Pa_Terminate().

 
#define PaUtil_ResetTraceMessages (  ) 

Referenced by Pa_Initialize().

Generated on Fri Jan 27 15:38:14 2012 for PortAudio by  doxygen 1.6.3