Loading lib_com/count.c +4 −1 Original line number Diff line number Diff line Loading @@ -617,7 +617,8 @@ Word32 Reset_WMOPS_counter(void) { glob_sum_curr[currCounter] = 0; sum_curr[currCounter] = 0; return tot; #else return 0; #endif /* ifdef WMOPS */ } Loading @@ -643,6 +644,8 @@ Word32 fwc (void) { } assert(funcid[currCounter] < NbFuncMax); return (tot); #else return 0; #endif /* ifdef WMOPS */ } Loading lib_com/count.c.bak 0 → 100644 +1437 −0 File added.Preview size limit exceeded, changes collapsed. Show changes lib_com/count.h +1 −1 Original line number Diff line number Diff line Loading @@ -571,7 +571,7 @@ void BASOP_get_total_wmops(double *min, double *max, double *avg); #define END_SUB_WMOPS BASOP_sub_end() #ifndef WMOPS_FL #if !defined WMOPS_FL //&& defined WMOPS #include <assert.h> #define reset_wmops() BASOP_init //extern int cntr_push_pop; Loading lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ #pragma warning(disable:4310) /* cast truncates constant value this affects mainly constants tables*/ #endif #define WMOPS 1 /* Activate FIXED-POINT complexity counters */ /*#define WMOPS 1 --> activation or deactivation in count.h*/ /* Activate FIXED-POINT complexity counters */ /*#define DONT_COUNT */ /* To prevent the complexity counting */ #ifdef WMOPS_FLT Loading lib_debug/wmc_auto.h +1 −1 Original line number Diff line number Diff line Loading @@ -571,7 +571,7 @@ void update_mem( void ); void print_wmops( void ); #else /* WMOPS_FL counting disabled */ #ifndef WMOPS #if 0 /* -> defined in count.h instead */ #include <assert.h> #define reset_wmops() extern int cntr_push_pop; Loading Loading
lib_com/count.c +4 −1 Original line number Diff line number Diff line Loading @@ -617,7 +617,8 @@ Word32 Reset_WMOPS_counter(void) { glob_sum_curr[currCounter] = 0; sum_curr[currCounter] = 0; return tot; #else return 0; #endif /* ifdef WMOPS */ } Loading @@ -643,6 +644,8 @@ Word32 fwc (void) { } assert(funcid[currCounter] < NbFuncMax); return (tot); #else return 0; #endif /* ifdef WMOPS */ } Loading
lib_com/count.c.bak 0 → 100644 +1437 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
lib_com/count.h +1 −1 Original line number Diff line number Diff line Loading @@ -571,7 +571,7 @@ void BASOP_get_total_wmops(double *min, double *max, double *avg); #define END_SUB_WMOPS BASOP_sub_end() #ifndef WMOPS_FL #if !defined WMOPS_FL //&& defined WMOPS #include <assert.h> #define reset_wmops() BASOP_init //extern int cntr_push_pop; Loading
lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,7 @@ #pragma warning(disable:4310) /* cast truncates constant value this affects mainly constants tables*/ #endif #define WMOPS 1 /* Activate FIXED-POINT complexity counters */ /*#define WMOPS 1 --> activation or deactivation in count.h*/ /* Activate FIXED-POINT complexity counters */ /*#define DONT_COUNT */ /* To prevent the complexity counting */ #ifdef WMOPS_FLT Loading
lib_debug/wmc_auto.h +1 −1 Original line number Diff line number Diff line Loading @@ -571,7 +571,7 @@ void update_mem( void ); void print_wmops( void ); #else /* WMOPS_FL counting disabled */ #ifndef WMOPS #if 0 /* -> defined in count.h instead */ #include <assert.h> #define reset_wmops() extern int cntr_push_pop; Loading