source: trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/Two_Level_Branch_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.7 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/Two_Level_Branch_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 {
19namespace two_level_branch_predictor {
20
21
22#undef  FUNCTION
23#define FUNCTION "Two_Level_Branch_Predictor::print"
24  std::string Parameters::print (uint32_t depth)
25  {
26    log_begin(Two_Level_Branch_Predictor,FUNCTION);
27
28    XML xml ("two_level_branch_predictor");
29
30    xml.balise_open("two_level_branch_predictor");
31//  xml.singleton_begin(""); xml.attribut("value",toString(_)); xml.singleton_end();
32    xml.balise_close();
33
34    log_end(Two_Level_Branch_Predictor,FUNCTION);
35   
36    return xml.get_body(depth);
37  };
38
39#undef  FUNCTION
40#define FUNCTION "Two_Level_Branch_Predictor::operator<<"
41  std::ostream& operator<< (std::ostream& output_stream ,
42                            morpheo::behavioural::core::multi_front_end::front_end::prediction_unit::direction::meta_predictor::two_level_branch_predictor::Parameters & x)
43  {
44    log_begin(Two_Level_Branch_Predictor,FUNCTION);
45
46    output_stream << x.print(0);
47   
48    log_end(Two_Level_Branch_Predictor,FUNCTION);
49
50    return output_stream;
51  };
52
53}; // end namespace two_level_branch_predictor
54}; // end namespace meta_predictor
55}; // end namespace direction
56}; // end namespace prediction_unit
57}; // end namespace front_end
58}; // end namespace multi_front_end
59}; // end namespace core
60
61}; // end namespace behavioural
62}; // end namespace morpheo             
Note: See TracBrowser for help on using the repository browser.