Go to the documentation of this file. 1 #ifndef RecoTracker_MkFitCore_src_Debug_h 3 #define RecoTracker_MkFitCore_src_Debug_h 49 #define dmutex_guard std::lock_guard<std::mutex> dlock(debug_mutex) 53 std::cout << x << std::endl; \ 55 #define dprint_np(n, x) \ 56 if (debug && n < N_proc) { \ 58 std::cout << n << ": " << x << std::endl; \ 65 #define dprintf(...) \ 68 printf(__VA_ARGS__); \ 70 #define dprintf_np(n, ...) \ 71 if (debug && n < N_proc) { \ 73 std::cout << n << ": "; \ 74 printf(__VA_ARGS__); \ 84 ~debug_guard() {
debug = m_prev_debug; }
90 #define dprint(x) (void(0)) 91 #define dprint_np(n, x) (void(0)) 92 #define dcall(x) (void(0)) 93 #define dprintf(...) (void(0)) 94 #define dprintf_np(n, ...) (void(0))