#ifdef STATISTICS
#ifndef morpheo_behavioural_generic_registerfile_registerfile_monolithic_Statistics_h
#define morpheo_behavioural_generic_registerfile_registerfile_monolithic_Statistics_h

/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Common/include/Debug.h"
#include "Behavioural/include/Statistics.h"
#include "Behavioural/include/Parameters_Statistics.h"
#include "Behavioural/Generic/Group/include/Statistics.h"
#include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/Parameters.h"

using namespace morpheo::behavioural::generic::group;

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

  class Statistics : public morpheo::behavioural::Statistics
  {
    // -----[ fields ]----------------------------------------------------
  private  : const Parameters                                 * _parameters;
  private  : morpheo::behavioural::generic::group::Parameters * _param_port_read;
  private  : morpheo::behavioural::generic::group::Parameters * _param_port_write;
  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_read;
  private  : morpheo::behavioural::generic::group::Statistics * _stat_port_write;

    // -----[ methods ]---------------------------------------------------
  public   : Statistics (string                                      name                       ,
			 morpheo::behavioural::Parameters_Statistics * parameters_statistics    ,
			 Parameters                                  * parameters
			 );
//public   : Statistics (Statistics & stat);
  public   : ~Statistics () ;
    
  public   : string   print_body (uint32_t depth);
  public   : string   print      (uint32_t depth);
  public   : void     add        (uint32_t nb_read,
				  uint32_t nb_write);

  public   : friend ostream& operator<< (ostream& output_stream,
					 const Statistics & x);

  };

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

#endif
#endif
