Adds a few single-threaded test cases for queue, stack, and set
[libcds.git] / test / stress / misc / common.h
index 09878f6d6da519b8070df8f2261401f305d47848..e297f166c3729103f1eb3d50cbcdd69ba4dcaee4 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _COMMON_H
-#define _COMMON_H
+#ifndef _CDS_STRESS_TEST_COMMON_H
+#define _CDS_STRESS_TEST_COMMON_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)
 
+
+#ifdef PERFORMANCE
+#define DEBUG(stmt)
+#else
+#define DEBUG(stmt) stmt
+#endif
+
 #endif