Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_transition.cpp
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/src/RegisterFile_Monolithic_transition.cpp
r81 r88 24 24 { 25 25 #ifdef STATISTICS 26 (*_stat_nb_write) ++; 26 if (usage_is_set(_usage,USE_STATISTICS)) 27 (*_stat_nb_write) ++; 27 28 #endif 28 29 … … 49 50 { 50 51 #ifdef STATISTICS 51 (*_stat_nb_write) ++; 52 if (usage_is_set(_usage,USE_STATISTICS)) 53 (*_stat_nb_write) ++; 52 54 #endif 53 55 … … 67 69 else 68 70 { 69 (*_stat_nb_read) ++; 71 if (usage_is_set(_usage,USE_STATISTICS)) 72 (*_stat_nb_read) ++; 70 73 } 71 74 #endif … … 74 77 75 78 #ifdef STATISTICS 76 for (uint32_t i=0; i<_param->_nb_port_read; i++) 77 if ( PORT_READ(in_READ_VAL [i]) == 1) 78 (*_stat_nb_read) ++; 79 if (usage_is_set(_usage,USE_STATISTICS)) 80 for (uint32_t i=0; i<_param->_nb_port_read; i++) 81 if ( PORT_READ(in_READ_VAL [i]) == 1) 82 (*_stat_nb_read) ++; 79 83 #endif 80 84
Note: See TracChangeset
for help on using the changeset viewer.