From: telleriam Date: Wed, 26 Sep 2007 15:09:42 +0000 (+0000) Subject: Adding global_error_condition variable to facilitate error propagation in X-Git-Url: http://rtime.felk.cvut.cz/gitweb/frescor/frsh-include.git/commitdiff_plain/8595d1313f082ea70ff7dae33a705544620b1ae0 Adding global_error_condition variable to facilitate error propagation in FRSH for debugging purposes. Adding trace define for the admission test git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@716 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/frsh_debug.h b/frsh_debug.h index 78d460f..0442b10 100644 --- a/frsh_debug.h +++ b/frsh_debug.h @@ -89,6 +89,9 @@ #define FRSH_TRACE_ROUND_ROBIN false #define FRSH_TRACE_BOUNDED_JOB false +#define FRSH_TRACE_ADMISSION_TEST false +#define FRSH_TRACE_ADMISSION_RESULT false + #define FRSH_TRACE_THREAD_INDEX false #define FRSH_TRACE_VRES_INDEX false @@ -101,6 +104,9 @@ extern struct timespec frsh_trace_init_timespec; extern long frsh_trace_init_timemsec; +extern int global_error_condition; /* Used to propagate error + * conditions in debugging */ + static inline long int FRSH_GET_TIMESTAMP_MSECS() { int terror = -1;