source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/src/Parameters_print.cpp @ 146

Last change on this file since 146 was 146, checked in by rosiere, 13 years ago

1) Integration of RegisterFile_Internal_Banked in RegisterFile?
2) Erase "read_write" interface in RegisterFile_Monolithic component
3) Add smith predictor parameters in Load_store_pointer_unit.
4) Fix not statistics flags

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1/*
2 * $Id: Parameters_print.cpp 146 2011-02-01 20:57:54Z rosiere $
3 *
4 * [ Description ]
5 *
6 */
7
8#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Parameters.h"
9#include "Behavioural/include/XML.h"
10
11namespace morpheo                    {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18namespace meta_predictor {
19
20#undef  FUNCTION
21#define FUNCTION "Meta_Predictor::print"
22  std::string Parameters::print (uint32_t depth)
23  {
24    log_begin(Meta_Predictor,FUNCTION);
25
26    XML xml ("meta_predictor");
27
28    xml.balise_open("meta_predictor");
29//  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
30    xml.balise_close();
31
32    log_end(Meta_Predictor,FUNCTION);
33   
34    return xml.get_body(depth);
35  };
36
37#undef  FUNCTION
38#define FUNCTION "Meta_Predictor::operator<<"
39  std::ostream& operator<< (std::ostream& output_stream ,
40                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::Parameters & x)
41  {
42    log_begin(Meta_Predictor,FUNCTION);
43
44    output_stream << x.print(0);
45   
46    log_end(Meta_Predictor,FUNCTION);
47
48    return output_stream;
49  };
50
51}; // end namespace meta_predictor
52}; // end namespace direction
53}; // end namespace prediction_unit
54}; // end namespace front_end
55}; // end namespace multi_front_end
56}; // end namespace core
57
58}; // end namespace behavioural
59}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.