HPCToolkit
DebugUtils.hpp File Reference
#include <sys/time.h>
#include <iostream>
Include dependency graph for DebugUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG   0
 
#define DEBUGCOUT(a)
 
#define LOGTIMESTAMPEDMSG(msg)
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG   0

Definition at line 69 of file DebugUtils.hpp.

◆ DEBUGCOUT

#define DEBUGCOUT (   a)
Value:
if (DEBUG > (a))\
cout
#define DEBUG
Definition: DebugUtils.hpp:69

Definition at line 72 of file DebugUtils.hpp.

◆ LOGTIMESTAMPEDMSG

#define LOGTIMESTAMPEDMSG (   msg)
Value:
{\
timeval t; \
t.tv_sec = 0; t.tv_usec = 0; \
gettimeofday(&t, NULL); \
clog << t.tv_sec*1000000 + t.tv_usec<<"\t" << msg << endl;\
}
#define NULL
Definition: ElfHelper.cpp:85

Definition at line 75 of file DebugUtils.hpp.