59#define CONCATENATE_THREE_STRINGS(__string1, __string2, __string3) __string1 __string2 __string3
71#define LF_LEVEL(index) (index & 0xffffLL)
75#define LF_MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
80#define LF_MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
138#define LF_MUTEX_INIT(mutex) LF_ASSERTN(lf_mutex_init(mutex), "Mutex init failed.")
145#define LF_MUTEX_LOCK(mutex) LF_ASSERTN(lf_mutex_lock(mutex), "Mutex lock failed.")
152#define LF_MUTEX_UNLOCK(mutex) LF_ASSERTN(lf_mutex_unlock(mutex), "Mutex unlock failed.")
160#define LF_COND_INIT(cond, mutex) LF_ASSERTN(lf_cond_init(cond, mutex), "Condition variable init failed.")
167#define LF_COND_SIGNAL(cond) LF_ASSERTN(lf_cond_signal(cond), "Condition variable signal failed.")
174#define LF_COND_BROADCAST(cond) LF_ASSERTN(lf_cond_broadcast(cond), "Condition variable broadcast failed.")
181#define LF_COND_WAIT(cond) LF_ASSERTN(lf_cond_wait(cond), "Condition variable wait failed.")
188#define LF_CRITICAL_SECTION_ENTER(env) LF_ASSERT(!lf_critical_section_enter(env), "Could not enter critical section")
195#define LF_CRITICAL_SECTION_EXIT(env) LF_ASSERT(!lf_critical_section_exit(env), "Could not exit critical section")
#define ATTRIBUTE_FORMAT_PRINTF(f, s)
Definition logging.h:10
int64_t standard_deviation
Definition util.h:47
int64_t variance
Definition util.h:48
int64_t max
Definition util.h:49
int64_t average
Definition util.h:46
void lf_vprint(const char *format, va_list args) ATTRIBUTE_FORMAT_PRINTF(1
int _lf_my_fed_id
Definition util.c:61
void void void lf_vprint_debug(const char *format, va_list args) ATTRIBUTE_FORMAT_PRINTF(1
void lf_vprint_error(const char *format, va_list args) ATTRIBUTE_FORMAT_PRINTF(1
void void lf_vprint_warning(const char *format, va_list args) ATTRIBUTE_FORMAT_PRINTF(1
void void void lf_vprint_error_and_exit(const char *format, va_list args) ATTRIBUTE_FORMAT_PRINTF(1
void void lf_vprint_log(const char *format, va_list args) ATTRIBUTE_FORMAT_PRINTF(1
void void void void error(const char *msg)
struct lf_stat_ll lf_stat_ll
int lf_fed_id(void)
Definition util.c:72