Loading lib_debug/wmc_auto.c +2 −2 Original line number Diff line number Diff line Loading @@ -1903,8 +1903,8 @@ void print_mem( ROM_Size_Lookup_Table Const_Data_PROM_Table[] ) } else { /* bytes */ fprintf( stdout, "Program ROM size (%s): %d bytes\n", Const_Data_PROM_Table[i].file_spec, Const_Data_PROM_Table[i].PROM_size << Stat_Cnt_Size ); /* bytes (here, we assume that it was measured by the WMC tool as PROM_INST_SIZE bit words) */ fprintf( stdout, "Program ROM size (%s): %d bytes\n", Const_Data_PROM_Table[i].file_spec, Const_Data_PROM_Table[i].PROM_size << ( PROM_INST_SIZE / 8 ) ); } } Loading lib_debug/wmc_auto.h +1 −1 Original line number Diff line number Diff line Loading @@ -33,10 +33,10 @@ #define INT_MAX 32767 #endif /* Real-time relationships */ #define FRAMES_PER_SECOND 50.0 #define WMOPS_BOOST_FAC ( 1.0f ) /* scaling factor for equalizing the difference between automatic and manual instrumentation */ #define FAC ( FRAMES_PER_SECOND / 1e6 * WMOPS_BOOST_FAC ) #define PROM_INST_SIZE 32 /* number of bits of each program instruction when stored in the PROM memory */ #ifdef WMOPS enum instructions Loading Loading
lib_debug/wmc_auto.c +2 −2 Original line number Diff line number Diff line Loading @@ -1903,8 +1903,8 @@ void print_mem( ROM_Size_Lookup_Table Const_Data_PROM_Table[] ) } else { /* bytes */ fprintf( stdout, "Program ROM size (%s): %d bytes\n", Const_Data_PROM_Table[i].file_spec, Const_Data_PROM_Table[i].PROM_size << Stat_Cnt_Size ); /* bytes (here, we assume that it was measured by the WMC tool as PROM_INST_SIZE bit words) */ fprintf( stdout, "Program ROM size (%s): %d bytes\n", Const_Data_PROM_Table[i].file_spec, Const_Data_PROM_Table[i].PROM_size << ( PROM_INST_SIZE / 8 ) ); } } Loading
lib_debug/wmc_auto.h +1 −1 Original line number Diff line number Diff line Loading @@ -33,10 +33,10 @@ #define INT_MAX 32767 #endif /* Real-time relationships */ #define FRAMES_PER_SECOND 50.0 #define WMOPS_BOOST_FAC ( 1.0f ) /* scaling factor for equalizing the difference between automatic and manual instrumentation */ #define FAC ( FRAMES_PER_SECOND / 1e6 * WMOPS_BOOST_FAC ) #define PROM_INST_SIZE 32 /* number of bits of each program instruction when stored in the PROM memory */ #ifdef WMOPS enum instructions Loading