]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
trace distributed flag
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 7 Apr 2008 15:20:58 +0000 (15:20 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Mon, 7 Apr 2008 15:20:58 +0000 (15:20 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1072 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_debug_and_trace.h

index bcb2be375fe5774d7abef1db2b87449a844d7ece..162c07f7e9cce9c79487be2b32a2d59789529fad 100644 (file)
@@ -98,6 +98,8 @@ FRSH_CPP_BEGIN_DECLS
 #define FRSH_TRACE_THREAD_INDEX false
 #define FRSH_TRACE_VRES_INDEX false
 
+#define FRSH_TRACE_DISTRIBUTED false
+
 /**
  * frsh_trace_point_insert()
  *
@@ -109,8 +111,6 @@ FRSH_CPP_BEGIN_DECLS
  */
 int frsh_trace_point_insert(frsh_trace_point_id_t ipoint);
 
-#define FRSH_TRACE_DISTRIBUTED false
-
 /** If FRSH_TRACE_TS_MSECS is defined, each trace line is prefixed
     with a msec counter **/
 #define FRSH_TRACE_TS_MSECS
@@ -147,7 +147,6 @@ static inline long int FRSH_TIMESTAMP_TO_RELATIVE_MSECS(const fosa_abs_time_t *t
     return time_msecs - frsh_trace_init_timemsec;
 }
 
-
 /**
  * FRSH_TRACE()
  *
@@ -156,7 +155,7 @@ static inline long int FRSH_TIMESTAMP_TO_RELATIVE_MSECS(const fosa_abs_time_t *t
  * program.
  *
  * Due to the "..." argument passing, this function cannot be
- * inlined. 
+ * inlined.
  **/
 void FRSH_TRACE(bool is_active, const char *format, ...);