Zero  0.1.0
trace_types.h
Go to the documentation of this file.
1 /* -*- mode:C++; c-basic-offset:4 -*-
2  Shore-kits -- Benchmark implementations for Shore-MT
3 
4  Copyright (c) 2007-2009
5  Data Intensive Applications and Systems Labaratory (DIAS)
6  Ecole Polytechnique Federale de Lausanne
7 
8  All Rights Reserved.
9 
10  Permission to use, copy, modify and distribute this software and
11  its documentation is hereby granted, provided that both the
12  copyright notice and this permission notice appear in all copies of
13  the software, derivative works or modified versions, and any
14  portions thereof, and that both notices appear in supporting
15  documentation.
16 
17  This code is distributed in the hope that it will be useful, but
18  WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS
20  DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER
21  RESULTING FROM THE USE OF THIS SOFTWARE.
22 */
23 
31 #ifndef __TRACE_TYPES_H
32 #define __TRACE_TYPES_H
33 
34 
35 
36 /* exported constants */
37 
38 #define TRACE_COMPONENT_MASK_ALL (~0)
39 #define TRACE_COMPONENT_MASK_NONE 0
40 
41 #define TRACE_ALWAYS (unsigned int)(1 << 0)
42 #define TRACE_TUPLE_FLOW (unsigned int)(1 << 1)
43 #define TRACE_PACKET_FLOW (unsigned int)(1 << 2)
44 #define TRACE_SYNC_COND (unsigned int)(1 << 3)
45 #define TRACE_SYNC_LOCK (unsigned int)(1 << 4)
46 #define TRACE_THREAD_LIFE_CYCLE (unsigned int)(1 << 5)
47 #define TRACE_TEMP_FILE (unsigned int)(1 << 6)
48 #define TRACE_CPU_BINDING (unsigned int)(1 << 7)
49 #define TRACE_QUERY_RESULTS (unsigned int)(1 << 8)
50 #define TRACE_QUERY_PROGRESS (unsigned int)(1 << 9)
51 #define TRACE_STATISTICS (unsigned int)(1 << 10)
52 #define TRACE_NETWORK (unsigned int)(1 << 11)
53 #define TRACE_RESPONSE_TIME (unsigned int)(1 << 12)
54 #define TRACE_WORK_SHARING (unsigned int)(1 << 13)
55 #define TRACE_TRX_FLOW (unsigned int)(1 << 14)
56 #define TRACE_KEY_COMP (unsigned int)(1 << 15)
57 #define TRACE_RECORD_FLOW (unsigned int)(1 << 16)
58 #define TRACE_DEBUG (unsigned int)(1 << 31)
59 
60 #endif // __TRACE_TYPES_H