source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/src/Parameters_print.cpp @ 77

Last change on this file since 77 was 77, checked in by rosiere, 16 years ago
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
File size: 2.3 KB
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Write_unit/Write_unit/Execute_queue/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_execute_loop {
15namespace execute_loop {
16namespace multi_write_unit {
17namespace write_unit {
18namespace execute_queue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Execute_queue::print"
23  std::string Parameters::print (uint32_t depth)
24  {
25    log_printf(FUNC,Execute_queue,FUNCTION,"Begin");
26
27    XML xml ("execute_queue");
28
29    xml.balise_open("execute_queue");
30    xml.singleton_begin("size_queue         "); xml.attribut("value",toString(_size_queue         )); xml.singleton_end();
31    xml.singleton_begin("nb_context         "); xml.attribut("value",toString(_nb_context         )); xml.singleton_end();
32    xml.singleton_begin("nb_front_end       "); xml.attribut("value",toString(_nb_front_end       )); xml.singleton_end();
33    xml.singleton_begin("nb_ooo_engine      "); xml.attribut("value",toString(_nb_ooo_engine      )); xml.singleton_end();
34    xml.singleton_begin("nb_packet          "); xml.attribut("value",toString(_nb_packet          )); xml.singleton_end();
35    xml.singleton_begin("size_general_data  "); xml.attribut("value",toString(_size_general_data  )); xml.singleton_end();
36    xml.singleton_begin("size_special_data  "); xml.attribut("value",toString(_size_special_data  )); xml.singleton_end();
37    xml.balise_close();
38
39    log_printf(FUNC,Execute_queue,FUNCTION,"End");
40   
41    return xml.get_body(depth);
42  };
43
44#undef  FUNCTION
45#define FUNCTION "Execute_queue::operator<<"
46  std::ostream& operator<< (std::ostream& output_stream ,
47                            morpheo::behavioural::core::multi_execute_loop::execute_loop::multi_write_unit::write_unit::execute_queue::Parameters & x)
48  {
49    log_printf(FUNC,Execute_queue,FUNCTION,"Begin");
50
51    output_stream << x.print(0);
52   
53    log_printf(FUNC,Execute_queue,FUNCTION,"End");
54
55    return output_stream;
56  };
57
58}; // end namespace execute_queue
59}; // end namespace write_unit
60}; // end namespace multi_write_unit
61}; // end namespace execute_loop
62}; // end namespace multi_execute_loop
63}; // end namespace core
64
65}; // end namespace behavioural
66}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.