]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_debug.h
flag for distributed trace
[frescor/frsh-include.git] / frsh_debug.h
index 03cdb573647f0856b009989c3e7129f036ef6da1..8de63720c1607a4ef27873ec01dc766e5093b7d9 100644 (file)
@@ -48,7 +48,7 @@
 //  Free Software  Foundation,  59 Temple Place  -  Suite 330,  Boston, MA
 //  02111-1307, USA.
 //
-//  As a specialhttp://idunno.org/archive/2004/07/14/122.aspx exception, if you include this header file into source
+//  As a special exception, if you include this header file into source
 //  files to be compiled, this header file does not by itself cause
 //  the resulting executable to be covered by the GNU General Public
 //  License.  This exception does not however invalidate any other
@@ -91,6 +91,8 @@
 #define FRSH_TRACE_THREAD_INDEX false
 #define FRSH_TRACE_VRES_INDEX false
 
+#define FRSH_TRACE_DISTRIBUTED false
+
 #define FRSH_TRACE_TS_MSECS
 
 /* These variables live defined in frsh_error.c */
 extern struct timespec frsh_trace_init_timespec;
 extern long frsh_trace_init_timemsec;
 
-
 static inline long int FRSH_GET_TIMESTAMP_MSECS()
 {
     int terror = -1;
@@ -114,7 +115,6 @@ static inline long int FRSH_GET_TIMESTAMP_MSECS()
     return result;
 }
 
-
 static void inline FRSH_TRACE(bool is_active, const char *format, ...)
 {
     va_list args;
@@ -135,6 +135,4 @@ static void inline FRSH_TRACE(bool is_active, const char *format, ...)
     }
 }
 
-
-
 #endif