[59] | 1 | /* |
---|
| 2 | * $Id: Parameters_print.cpp 81 2008-04-15 18:40:01Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/include/Parameters.h" |
---|
| 9 | #include "Behavioural/include/XML.h" |
---|
| 10 | |
---|
| 11 | namespace morpheo { |
---|
| 12 | namespace behavioural { |
---|
| 13 | namespace core { |
---|
| 14 | namespace multi_execute_loop { |
---|
| 15 | namespace execute_loop { |
---|
| 16 | namespace multi_execute_unit { |
---|
| 17 | namespace execute_unit { |
---|
| 18 | namespace load_store_unit { |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | #undef FUNCTION |
---|
| 22 | #define FUNCTION "Load_store_unit::print" |
---|
[71] | 23 | std::string Parameters::print (uint32_t depth) |
---|
[59] | 24 | { |
---|
| 25 | log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); |
---|
| 26 | |
---|
| 27 | XML xml ("load_store_unit"); |
---|
| 28 | |
---|
| 29 | xml.balise_open("load_store_unit"); |
---|
[71] | 30 | xml.singleton_begin("size_store_queue "); xml.attribut("value",toString(_size_store_queue )); xml.singleton_end(); |
---|
| 31 | xml.singleton_begin("size_load_queue "); xml.attribut("value",toString(_size_load_queue )); xml.singleton_end(); |
---|
[59] | 32 | xml.singleton_begin("size_speculative_access_queue"); xml.attribut("value",toString(_size_speculative_access_queue)); xml.singleton_end(); |
---|
[71] | 33 | xml.singleton_begin("nb_port_check "); xml.attribut("value",toString(_nb_port_check )); xml.singleton_end(); |
---|
| 34 | xml.singleton_begin("speculative_load "); xml.attribut("value",toString(_speculative_load )); xml.singleton_end(); |
---|
[78] | 35 | xml.singleton_begin("nb_bypass_memory "); xml.attribut("value",toString(_nb_bypass_memory )); xml.singleton_end(); |
---|
[71] | 36 | xml.singleton_begin("nb_context "); xml.attribut("value",toString(_nb_context )); xml.singleton_end(); |
---|
| 37 | xml.singleton_begin("nb_front_end "); xml.attribut("value",toString(_nb_front_end )); xml.singleton_end(); |
---|
| 38 | xml.singleton_begin("nb_ooo_engine "); xml.attribut("value",toString(_nb_ooo_engine )); xml.singleton_end(); |
---|
| 39 | xml.singleton_begin("nb_packet "); xml.attribut("value",toString(_nb_packet )); xml.singleton_end(); |
---|
| 40 | xml.singleton_begin("size_general_data "); xml.attribut("value",toString(_size_general_data )); xml.singleton_end(); |
---|
| 41 | xml.singleton_begin("nb_general_register "); xml.attribut("value",toString(_nb_general_register )); xml.singleton_end(); |
---|
[59] | 42 | xml.balise_close(); |
---|
| 43 | |
---|
| 44 | log_printf(FUNC,Load_store_unit,FUNCTION,"End"); |
---|
| 45 | |
---|
| 46 | return xml.get_body(depth); |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | #undef FUNCTION |
---|
| 50 | #define FUNCTION "Load_store_unit::operator<<" |
---|
[71] | 51 | std::ostream& operator<< (std::ostream& output_stream , |
---|
[59] | 52 | morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_execute_unit::execute_unit::load_store_unit::Parameters & x) |
---|
| 53 | { |
---|
| 54 | log_printf(FUNC,Load_store_unit,FUNCTION,"Begin"); |
---|
| 55 | |
---|
| 56 | output_stream << x.print(0); |
---|
| 57 | |
---|
| 58 | log_printf(FUNC,Load_store_unit,FUNCTION,"End"); |
---|
| 59 | |
---|
| 60 | return output_stream; |
---|
| 61 | }; |
---|
| 62 | |
---|
| 63 | }; // end namespace load_store_unit |
---|
| 64 | }; // end namespace execute_unit |
---|
| 65 | }; // end namespace multi_execute_unit |
---|
| 66 | }; // end namespace execute_loop |
---|
| 67 | }; // end namespace multi_execute_loop |
---|
| 68 | }; // end namespace core |
---|
| 69 | |
---|
| 70 | }; // end namespace behavioural |
---|
| 71 | }; // end namespace morpheo |
---|