From: sangorrin Date: Thu, 9 Aug 2007 11:51:52 +0000 (+0000) Subject: flag for distributed trace X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/frsh-include.git/commitdiff_plain/aa1db1fc6d3bdbccd2011166283da101ac38302c flag for distributed trace git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@646 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/frsh_debug.h b/frsh_debug.h index 4e6e110..8de6372 100644 --- a/frsh_debug.h +++ b/frsh_debug.h @@ -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 */ @@ -98,7 +100,6 @@ 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