This commit is contained in:
Alwin Berger 2025-02-26 12:39:17 +01:00
parent ce132131b3
commit c42d3baa89
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
#define DO_TIME(X,Y) WASTE_USEC((X))
#ifdef INSERT_WC
#define DEBUG_VAL(X,D) (D+0*X)
#define DEBUG_VAL(X,D) ((D)+0*(X))
#define WCET_CLAMP(X, LB, UB, LABEL) WASTE_USEC(UB)
#else
#define DEBUG_VAL(X,D) ((X)+(D)*0)

View File

@ -34,10 +34,10 @@
#include "fuzzhelper.c"
#ifdef INSERT_WC
#define DEBUG_VAL(X,D) (D+0*X)
#define DEBUG_VAL(X,D) ((D)+0*(X))
#define WCET_CLAMP(X, LB, UB, LABEL) WASTE_NSEC((X)*0+UB)
#else
#define DEBUG_VAL(X,D) (X+0*D)
#define DEBUG_VAL(X,D) ((X)+0*(D))
#define WCET_CLAMP(X, LB, UB, LABEL) WASTE_NSEC(CLAMP(X,LB,UB))
#endif