Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
Base
Commits
1157d2ba
Commit
1157d2ba
authored
Oct 08, 2015
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Debug/DebOut.hh
View file @
1157d2ba
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment