Go to the documentation of this file.
27 #ifndef _LOCALTRACEBUFFERPOOL_HXX_
28 #define _LOCALTRACEBUFFERPOOL_HXX_
32 #define TRACE_BUFFER_SIZE 512 // number of entries in circular buffer
34 #define MAX_TRACE_LENGTH 1024 // messages are truncated at this size
37 #include <semaphore.h>
41 #define ABORT_MESS 1 // for traceType field in struct LocalTrace_TraceInfo
56 int insert(
int traceType,
const char* msg);
58 unsigned long toCollect();
63 unsigned long lockedIncrement(
unsigned long& pos);