projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds a few single-threaded test cases for queue, stack, and set
[libcds.git]
/
test
/
stress
/
misc
/
common.h
diff --git
a/test/stress/misc/common.h
b/test/stress/misc/common.h
index 09878f6d6da519b8070df8f2261401f305d47848..e297f166c3729103f1eb3d50cbcdd69ba4dcaee4 100644
(file)
--- a/
test/stress/misc/common.h
+++ b/
test/stress/misc/common.h
@@
-1,5
+1,5
@@
-#ifndef _COMMON_H
-#define _COMMON_H
+#ifndef _C
DS_STRESS_TEST_C
OMMON_H
+#define _C
DS_STRESS_TEST_C
OMMON_H
#include <cds_test/stress_test.h>
#include <cds_test/stress_test.h>
@@
-7,4
+7,11
@@
typedef unsigned long long ullong;
#define GetConfig(field) s_n##field = cfg.get_size_t(#field, s_n##field)
#define GetConfig(field) s_n##field = cfg.get_size_t(#field, s_n##field)
+
+#ifdef PERFORMANCE
+#define DEBUG(stmt)
+#else
+#define DEBUG(stmt) stmt
+#endif
+
#endif
#endif