source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/src/Parameters_print.cpp @ 81

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
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_OOO_Engine/OOO_Engine/Rename_unit/Register_translation_unit/Dependency_checking_unit/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_ooo_engine {
15namespace ooo_engine {
16namespace rename_unit {
17namespace register_translation_unit {
18namespace dependency_checking_unit {
19
20
21#undef  FUNCTION
22#define FUNCTION "Dependency_checking_unit::print"
23  std::string Parameters::print (uint32_t depth)
24  {
25    log_printf(FUNC,Dependency_checking_unit,FUNCTION,"Begin");
26
27    XML xml ("dependency_checking_unit");
28
29    xml.balise_open("dependency_checking_unit");
30    xml.singleton_begin("nb_front_end       "); xml.attribut("value",toString(_nb_front_end       )); xml.singleton_end();
31    xml.singleton_begin("max_nb_context     "); xml.attribut("value",toString(_max_nb_context     )); xml.singleton_end();
32    xml.singleton_begin("nb_general_register"); xml.attribut("value",toString(_nb_general_register)); xml.singleton_end();
33    xml.singleton_begin("nb_special_register"); xml.attribut("value",toString(_nb_special_register)); xml.singleton_end();
34    xml.singleton_begin("nb_inst_insert     "); xml.attribut("value",toString(_nb_inst_insert     )); xml.singleton_end();
35    xml.balise_close();
36
37    log_printf(FUNC,Dependency_checking_unit,FUNCTION,"End");
38   
39    return xml.get_body(depth);
40  };
41
42#undef  FUNCTION
43#define FUNCTION "Dependency_checking_unit::operator<<"
44  std::ostream& operator<< (std::ostream& output_stream ,
45                            morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::dependency_checking_unit::Parameters & x)
46  {
47    log_printf(FUNC,Dependency_checking_unit,FUNCTION,"Begin");
48
49    output_stream << x.print(0);
50   
51    log_printf(FUNC,Dependency_checking_unit,FUNCTION,"End");
52
53    return output_stream;
54  };
55
56}; // end namespace dependency_checking_unit
57}; // end namespace register_translation_unit
58}; // end namespace rename_unit
59}; // end namespace ooo_engine
60}; // end namespace multi_ooo_engine
61}; // end namespace core
62
63}; // end namespace behavioural
64}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.