-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
43 lines (33 loc) · 1.26 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// (C) 2021 by [email protected]
// Released under Apache license v2.0
#define WITH_BACKTRACE
// Get this number of function calls from the stack
#define CALLER_DEPTH 8
// This records 1 backtrace element and is a faster variant
// don't forget to set CALLER_DEPTH to 1 as well when using
// this option
//#define SHALLOW_BACKTRACE
#define CAPTURE_PTHREAD_EXIT
#define STORE_THREAD_NAME
#define WITH_COLORS
// This doubles the memory usage but allows you to see which
// other places are trying to get a certain lock at a point
// in time.
#define WITH_USAGE_GROUPS
// If you don't care about timing measurements, then comment out
// 'MEASURE_TIMING'. this makes measuring a bit faster(!)
#define USE_CLOCK CLOCK_REALTIME
#define MEASURE_TIMING
// When enabled, every regular mutex is replaced by an error-
// checking mutex. This can cause calls to fail which is visible
// in the analyzer-report.
// This changes the mutexe in place.
// #define ENFORCE_ERR_CHK
// These are at run-time and cause a small delay (unless
// triggered, then the delay is more significant due to printf)
//#define MUTEX_SANITY_CHECKS
//#define RWLOCK_SANITY_CHECKS
// Slower start-up, potentially less latency while measuring
//#define PREALLOCATE
#cmakedefine01 GVC_FOUND
#define HAVE_GVC GVC_FOUND