source: trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp @ 71

Last change on this file since 71 was 71, checked in by rosiere, 16 years ago

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File size: 1.1 KB
RevLine 
[2]1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/@DIRECTORY/include/Parameters.h"
[3]9#include "Behavioural/include/XML.h"
[2]10
11namespace morpheo                    {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
[53]15#undef  FUNCTION
16#define FUNCTION "@COMPONENT::print"
[71]17  std::string Parameters::print (uint32_t depth)
[2]18  {
[53]19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
[2]20
[3]21    XML xml ("@COMPONENT_LOWER");
[2]22
[3]23    xml.balise_open("@COMPONENT_LOWER");
[53]24//  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
[3]25    xml.balise_close();
26
[53]27    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
[2]28   
[3]29    return xml.get_body(depth);
[2]30  };
31
[53]32#undef  FUNCTION
33#define FUNCTION "@COMPONENT::operator<<"
[2]34  ostream& operator<< (ostream& output_stream ,
35                       morpheo::behavioural::@NAMESPACE_USE::Parameters & x)
36  {
[53]37    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
38
[2]39    output_stream << x.print(0);
40   
[53]41    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
42
[2]43    return output_stream;
44  };
45
46@NAMESPACE_END
47}; // end namespace behavioural
48}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.