#ifdef STATISTICS
/*
 * $Id: Meta_Predictor_statistics.cpp 81 2008-04-15 18:40:01Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/Meta_Predictor/include/Meta_Predictor.h"

namespace morpheo {
namespace behavioural {
namespace core {
namespace multi_front_end {
namespace front_end {
namespace prediction_unit {
namespace direction {

namespace meta_predictor {


  string Meta_Predictor::statistics (uint32_t depth)
  {
    log_printf(FUNC,Meta_Predictor,"statistics","Begin");

    string stat_component_Two_Level_Branch_Predictor_0 = (_param._have_meta_predictor==false)?"":component_Two_Level_Branch_Predictor_0->statistics(depth+1);
    string stat_component_Two_Level_Branch_Predictor_1 = (_param._have_meta_predictor==false)?"":component_Two_Level_Branch_Predictor_1->statistics(depth+1);
    string stat_component_Two_Level_Branch_Predictor_2 =                                         component_Two_Level_Branch_Predictor_2->statistics(depth+1);
    string stat_component_Meta_Predictor_Glue          =                                         component_Meta_Predictor_Glue         ->statistics(depth+1);

    string txt = _stat->print(depth,
			      stat_component_Two_Level_Branch_Predictor_0 + 
			      stat_component_Two_Level_Branch_Predictor_1 + 
			      stat_component_Two_Level_Branch_Predictor_2 + 
			      stat_component_Meta_Predictor_Glue          );
    
    log_printf(FUNC,Meta_Predictor,"statistics","End");

    return txt;
  };

}; // end namespace meta_predictor

}; // end namespace core
}; // end namespace multi_front_end
}; // end namespace front_end
}; // end namespace prediction_unit
}; // end namespace direction


}; // end namespace behavioural
}; // end namespace morpheo              
#endif
