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

#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Statistics.h"

#include <sstream>
using namespace std;

namespace morpheo                    {
namespace behavioural                {
namespace generic                    {
namespace registerfile               {
namespace registerfile_monolithic    {

  string Statistics::print (uint32_t depth)
  {
    string        tab = string(depth,'\t');
    ostringstream msg;

    msg << tab << "<registerfile_monolithic name=\"" << _name << "\" >" << endl
	<< print_body(depth+1)
	<< tab << "</RegisterFile_Monolithic>" << endl;
    
    return msg.str();
  };

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

    return output_stream;
  };

}; // end namespace registerfile_monolithic
}; // end namespace registerfile
}; // end namespace generic
}; // end namespace behavioural          
}; // end namespace morpheo              
#endif
