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

#include "Behavioural/Generic/RegisterFile_Multi_Banked/RegisterFile_Multi_Banked_Glue/include/Statistics.h"

#include <sstream>
using namespace std;

namespace morpheo {
namespace behavioural {
namespace generic {
namespace registerfile_multi_banked {
namespace registerfile_multi_banked_glue {


  string Statistics::print (uint32_t depth)
  {
    log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"print","Begin");

    string        tab = string(depth,'\t');
    ostringstream msg;

    msg << tab << "<registerfile_multi_banked_glue name=\"" << _name << "\" >" << endl
        << print_body(depth+1) << endl
	<< tab << "</registerfile_multi_banked_glue>" << endl;
    
    log_printf(FUNC,RegisterFile_Multi_Banked_Glue,"print","End");

    return msg.str();
  };

  ostream& operator<< (ostream& output_stream ,
		       morpheo::behavioural::generic::registerfile_multi_banked::registerfile_multi_banked_glue::Statistics & x)
  {
    output_stream << x.print(0);

    return output_stream;
  };

}; // end namespace registerfile_multi_banked_glue
}; // end namespace registerfile_multi_banked
}; // end namespace generic

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