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 @ 110

Last change on this file since 110 was 110, checked in by rosiere, 15 years ago

1) OOO_egine : add stat to depiste low perf source
2) Commit : add stat
3) LSU_Pointer : retire - always ack (else combinatory loop). insert - max nb_inst_memory
4) TopLevel? : add debug_idle_time to stop combinatory loop.
5) Issue_queue : add reexecute_queue, new implementation (routage after issue_queue)
6) Decod / Predictor : add "can_continue"

  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1/*
2 * $Id: Parameters_print.cpp 110 2009-02-19 16:31:47Z 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.