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

Last change on this file since 82 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: 1.9 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/Register_translation_unit_Glue/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 register_translation_unit_glue {
19
20
21#undef  FUNCTION
22#define FUNCTION "Register_translation_unit_Glue::print"
23  std::string Parameters::print (uint32_t depth)
24  {
25    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
26
27    XML xml ("register_translation_unit_glue");
28
29    xml.balise_open("register_translation_unit_glue");
30    xml.singleton_begin("nb_inst_insert"); xml.attribut("value",toString(_nb_inst_insert)); xml.singleton_end();
31    xml.singleton_begin("nb_inst_retire"); xml.attribut("value",toString(_nb_inst_retire)); xml.singleton_end();
32    xml.balise_close();
33
34    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
35   
36    return xml.get_body(depth);
37  };
38
39#undef  FUNCTION
40#define FUNCTION "Register_translation_unit_Glue::operator<<"
41  std::ostream& operator<< (std::ostream& output_stream ,
42                            morpheo::behavioural::core::multi_ooo_engine::ooo_engine::rename_unit::register_translation_unit::register_translation_unit_glue::Parameters & x)
43  {
44    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"Begin");
45
46    output_stream << x.print(0);
47   
48    log_printf(FUNC,Register_translation_unit_Glue,FUNCTION,"End");
49
50    return output_stream;
51  };
52
53}; // end namespace register_translation_unit_glue
54}; // end namespace register_translation_unit
55}; // end namespace rename_unit
56}; // end namespace ooo_engine
57}; // end namespace multi_ooo_engine
58}; // end namespace core
59
60}; // end namespace behavioural
61}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.