Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/SelfTest/include/Cache.h
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/SelfTest/include/Cache.h
r71 r75 27 27 private : const uint32_t _miss_rate; 28 28 private : const uint32_t _miss_penality; 29 private : list<cache_rsp_t> _list_respons;29 private : std::list<cache_rsp_t> _list_respons; 30 30 31 31 public : Cache_t (uint32_t miss_rate, uint32_t miss_penality): … … 59 59 60 60 // find good place 61 list<cache_rsp_t>::iterator i;61 std::list<cache_rsp_t>::iterator i; 62 62 for(i = _list_respons.begin(); (i != _list_respons.end()) and (i->_cycle<=cycle); i++); 63 63 … … 82 82 public : void end_cycle (void) 83 83 { 84 for( list<cache_rsp_t>::iterator i = _list_respons.begin(); i != _list_respons.end(); i++)84 for(std::list<cache_rsp_t>::iterator i = _list_respons.begin(); i != _list_respons.end(); i++) 85 85 { 86 86 i->_cycle --; … … 90 90 public : void print (void) 91 91 { 92 for( list<cache_rsp_t>::iterator i = _list_respons.begin(); i != _list_respons.end(); i++)92 for(std::list<cache_rsp_t>::iterator i = _list_respons.begin(); i != _list_respons.end(); i++) 93 93 { 94 94 std::cout << "{" << i->_cycle << "}\t"
Note: See TracChangeset
for help on using the changeset viewer.