From cdf407bd7994dbe41a952bf29cacc1a2ca9c722e Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 6 Sep 2018 11:59:03 +0000 Subject: More debugging and a performance check --- src/debug.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/debug.h') 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__ -- cgit v1.2.3