X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Fstress%2Fmisc%2Fcommon.h;h=e297f166c3729103f1eb3d50cbcdd69ba4dcaee4;hb=59cb651402874a22500cab3ec586565b48f76059;hp=09878f6d6da519b8070df8f2261401f305d47848;hpb=dfda714438c69e7c8e3642e45f4decb3c15eb3f8;p=libcds.git diff --git a/test/stress/misc/common.h b/test/stress/misc/common.h index 09878f6d..e297f166 100644 --- a/test/stress/misc/common.h +++ b/test/stress/misc/common.h @@ -1,5 +1,5 @@ -#ifndef _COMMON_H -#define _COMMON_H +#ifndef _CDS_STRESS_TEST_COMMON_H +#define _CDS_STRESS_TEST_COMMON_H #include @@ -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