*** empty log message ***
[arla.git] / rx / rx_trace.h
blob3a86143ce0812399ab33e5768d276609feccdbed
1 /*
2 ****************************************************************************
3 * Copyright IBM Corporation 1988, 1989 - All Rights Reserved *
4 * *
5 * Permission to use, copy, modify, and distribute this software and its *
6 * documentation for any purpose and without fee is hereby granted, *
7 * provided that the above copyright notice appear in all copies and *
8 * that both that copyright notice and this permission notice appear in *
9 * supporting documentation, and that the name of IBM not be used in *
10 * advertising or publicity pertaining to distribution of the software *
11 * without specific, written prior permission. *
12 * *
13 * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL *
14 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL IBM *
15 * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY *
16 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER *
17 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING *
18 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
19 ****************************************************************************
22 /* $Id$ */
24 #ifndef _RX_TRACE
25 #define _RX_TRACE
27 #ifndef RXDEBUG
28 #define rxi_calltrace(a,b)
29 #define rxi_flushtrace()
30 #else
31 void rxi_calltrace(unsigned int, struct rx_call*);
32 void rxi_flushtrace(void);
34 #define RX_CALL_ARRIVAL 0
35 #define RX_CALL_START 1
36 #define RX_CALL_END 2
37 #define RX_TRACE_DROP 3
39 struct rx_trace {
40 unsigned long cid;
41 unsigned short call;
42 unsigned short qlen;
43 unsigned long now;
44 unsigned long waittime;
45 unsigned long servicetime;
46 unsigned long event;
49 extern char rxi_tracename[80];
51 #endif /* RXDEBUG */
53 #endif /* _RX_TRACE */