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
20#define XRD_TRACE m_trace->
23#define TRACE(act, x) \
24 if (XRD_TRACE What & TRACE_ ## act) \
25 {XRD_TRACE Beg(TraceID); cerr <<x; XRD_TRACE End();}
27#define TRACEI(act, x) \
28 if (XRD_TRACE What & TRACE_ ## act) \
29 {XRD_TRACE Beg(TraceID,TRACELINK->ID); cerr <<x; \
32#define TRACING(x) XRD_TRACE What & x