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

Last change on this file since 81 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1#ifdef STATISTICS
2/*
3 * $Id: Meta_Predictor_statistics.cpp 81 2008-04-15 18:40:01Z rosiere $
4 *
5 * [ Description ]
6 *
7 */
8
9#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h"
10
11namespace morpheo {
12namespace behavioural {
13namespace core {
14namespace multi_front_end {
15namespace front_end {
16namespace prediction_unit {
17namespace direction {
18
19namespace meta_predictor {
20
21
22  string Meta_Predictor::statistics (uint32_t depth)
23  {
24    log_printf(FUNC,Meta_Predictor,"statistics","Begin");
25
26    string stat_component_Two_Level_Branch_Predictor_0 = (_param._have_meta_predictor==false)?"":component_Two_Level_Branch_Predictor_0->statistics(depth+1);
27    string stat_component_Two_Level_Branch_Predictor_1 = (_param._have_meta_predictor==false)?"":component_Two_Level_Branch_Predictor_1->statistics(depth+1);
28    string stat_component_Two_Level_Branch_Predictor_2 =                                         component_Two_Level_Branch_Predictor_2->statistics(depth+1);
29    string stat_component_Meta_Predictor_Glue          =                                         component_Meta_Predictor_Glue         ->statistics(depth+1);
30
31    string txt = _stat->print(depth,
32                              stat_component_Two_Level_Branch_Predictor_0 + 
33                              stat_component_Two_Level_Branch_Predictor_1 + 
34                              stat_component_Two_Level_Branch_Predictor_2 + 
35                              stat_component_Meta_Predictor_Glue          );
36   
37    log_printf(FUNC,Meta_Predictor,"statistics","End");
38
39    return txt;
40  };
41
42}; // end namespace meta_predictor
43
44}; // end namespace core
45}; // end namespace multi_front_end
46}; // end namespace front_end
47}; // end namespace prediction_unit
48}; // end namespace direction
49
50
51}; // end namespace behavioural
52}; // end namespace morpheo             
53#endif
Note: See TracBrowser for help on using the repository browser.