#ifdef STATISTICS
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Stage_1_Ifetch/Predictor/Meta_Predictor/include/Meta_Predictor.h"

namespace morpheo {
namespace behavioural {
namespace stage_1_ifetch {
namespace predictor {
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 predictor
}; // end namespace stage_1_ifetch

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