Commit 1157d2ba authored by Martin Marinov's avatar Martin Marinov
Browse files

Integrated the latest QGP drop from RWTH. Not activated yet.

[git-p4: depot-paths = "//ReForm/ReForm/main/Base/": change = 12987]
parent fcc4f421
......@@ -16,6 +16,7 @@
#define DEB_module(SS)
#define DEB_enter_func
#define DEB_enter_header_func
#define DEB_only(CC)
#define DEB_out(LL, AA) {}
#define DEB_out_if(CC, LL, AA) {}
......@@ -33,12 +34,15 @@
#include <string>
#include <vector>
#define DEB_module(SS) static const char* l_g_module = SS;
#define DEB_module(MODULE) static const char* FILE_MODULE_NAME = MODULE;
/* TODO: This should use an atomic thread safe static int
*/
#define DEB_enter_func static int deb_enter_count = 0; \
Debug::Enter deb(__FUNCTION__, deb_enter_count++, l_g_module);
Debug::Enter deb(__FUNCTION__, deb_enter_count++, FILE_MODULE_NAME);
#define DEB_enter_header_func static int deb_enter_count = 0; \
Debug::Enter deb(__FUNCTION__, deb_enter_count++, "header");
#define DEB_only(CC) CC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment