Go to the documentation of this file. 2 #ifndef _XRDTHROTTLE_TRACE_H 3 #define _XRDTHROTTLE_TRACE_H 7 #define TRACE_NONE 0x0000 8 #define TRACE_ALL 0x0fff 9 #define TRACE_BANDWIDTH 0x0001 10 #define TRACE_IOPS 0x0002 11 #define TRACE_IOLOAD 0x0004 12 #define TRACE_DEBUG 0x0008 13 #define TRACE_FILES 0x0010 14 #define TRACE_CONNS 0x0020 22 #define XRD_TRACE m_trace-> 25 #define TRACE(act, x) \ 26 if (XRD_TRACE What & TRACE_ ## act) \ 27 {XRD_TRACE Beg(TraceID); cerr <<x; XRD_TRACE End();} 29 #define TRACEI(act, x) \ 30 if (XRD_TRACE What & TRACE_ ## act) \ 31 {XRD_TRACE Beg(TraceID,TRACELINK->ID); cerr <<x; \ 34 #define TRACING(x) XRD_TRACE What & x