aboutsummaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorPjotr Prins2018-09-06 11:59:03 +0000
committerPjotr Prins2018-09-06 11:59:03 +0000
commitcdf407bd7994dbe41a952bf29cacc1a2ca9c722e (patch)
tree1bd91f84684d556505ca930ecc73ceacbb1ce8ca /src/debug.h
parent6dd15bfabc5c655d18ea19c0d69b76ecc34630e2 (diff)
downloadpangemma-cdf407bd7994dbe41a952bf29cacc1a2ca9c722e.tar.gz
More debugging and a performance check
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index e83c813..a665a37 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -115,6 +115,9 @@ inline void fail_msg(std::string msg) {
std::raise(SIGINT); // keep stack trace for gdb
}
+#define info_msg(msg) cerr << "**** INFO: " << msg << "." << endl;
+#define msg(msg) info_msg(msg);
+
#if defined NDEBUG
#define __SHOW_FUNC __func__