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
Line 
1/*
2 * $Id$
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/@DIRECTORY/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13@NAMESPACE_BEGIN
14
15#undef  FUNCTION
16#define FUNCTION "@COMPONENT::print"
17  std::string Parameters::print (uint32_t depth)
18  {
19    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
20
21    XML xml ("@COMPONENT_LOWER");
22
23    xml.balise_open("@COMPONENT_LOWER");
24//  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
25    xml.balise_close();
26
27    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
28   
29    return xml.get_body(depth);
30  };
31
32#undef  FUNCTION
33#define FUNCTION "@COMPONENT::operator<<"
34  ostream& operator<< (ostream& output_stream ,
35                       morpheo::behavioural::@NAMESPACE_USE::Parameters & x)
36  {
37    log_printf(FUNC,@COMPONENT,FUNCTION,"Begin");
38
39    output_stream << x.print(0);
40   
41    log_printf(FUNC,@COMPONENT,FUNCTION,"End");
42
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.