]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_debug.h
Added the hash table for contracts
[frescor/frsh-include.git] / frsh_debug.h
index e95e635e3783689a8ec37b5db1321bd928f2e036..0b909a3b43ec488d2daea36f2035c036d1c2b112 100644 (file)
 //==============================================
 //
 // 23-Jul-2007 SANGORRIN: create this file for debugging functions
+// 31-Jul-2007 TELLERIA:  Change "debug" for "trace"
 // -----------------------------------------------------------------------
 #include <stdio.h> // for vprintf
 #include <stdbool.h> // for bool
 #include <stdarg.h> // for va_list, va_start and va_end
 
 // Tune the following FLAGS to select the debugging messages to be generated
-#define FRSH_DEBUG_CALLBACKS true
-#define FRSH_DEBUG_WATCHDOG true
-#define FRSH_DEBUG_TIMEDWAIT true
-#define FRSH_DEBUG_SERVICE_TH true
+#define FRSH_TRACE_CALLBACKS false
+#define FRSH_TRACE_WATCHDOG false
+#define FRSH_TRACE_TIMEDWAIT false
+#define FRSH_TRACE_SERVICE_TH false
+#define FRSH_TRACE_SPORADIC_SERVER false
+#define FRSH_TRACE_ROUND_ROBIN false
 
-static void inline DEBUG(bool is_active, const char *format, ...)
+#define FRSH_TRACE_THREAD_INDEX false
+#define FRSH_TRACE_VRES_INDEX false
+
+static void inline FRSH_TRACE(bool is_active, const char *format, ...)
 {
     va_list args;