Changeset 110 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/SelfTest/src/main.cpp
- Timestamp:
- Feb 19, 2009, 5:31:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/SelfTest/src/main.cpp
r108 r110 7 7 8 8 #include "Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/SelfTest/include/test.h" 9 #include "Behavioural/include/Allocation.h" 9 10 10 11 #define NB_PARAMS 16 … … 99 100 uint32_t _nb_rename_unit_select = fromString<uint32_t >(argv[x++]); 100 101 102 uint32_t _nb_thread ; 103 uint32_t ** _translate_num_context_to_num_thread; //[nb_front_end][nb_context] 104 105 ALLOC2(_translate_num_context_to_num_thread,uint32_t,_nb_front_end,_nb_context[it1]); 106 107 _nb_thread = 0; 108 for (uint32_t i=0; i<_nb_front_end; i++) 109 for (uint32_t j=0; j<_nb_context [i]; j++) 110 _translate_num_context_to_num_thread [i][j] = _nb_thread ++; 111 101 112 int _return = EXIT_SUCCESS; 102 113 try … … 123 134 _load_balancing , 124 135 _nb_rename_unit_select , 136 _nb_thread , 137 _translate_num_context_to_num_thread, 125 138 true // is_toplevel 126 139 ); … … 149 162 } 150 163 164 DELETE2(_translate_num_context_to_num_thread,_nb_front_end,_nb_context[it1]); 165 151 166 delete [] _nb_context ; 152 167 delete [] _nb_inst_insert;
Note: See TracChangeset
for help on using the changeset viewer.