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

#include "Behavioural/Generic/Group/include/Statistics.h"

namespace morpheo                    {
namespace behavioural                {
namespace generic                    {
namespace group                      {

  Statistics::Statistics (string                                      name                       ,
			  morpheo::behavioural::Parameters_Statistics parameters_statistics      ,
			  Parameters                                  parameters
			  ) :
    morpheo::behavioural::Statistics(name                  ,
				     parameters_statistics ),
    _parameters (parameters)
  {};
    
//   Statistics::Statistics (Statistics & stat) :
// 		       _nb_port_read      (param._nb_port_read ),
// 		       _nb_port_write     (param._nb_port_write),
// 		       _nb_word           (param._nb_word      ),
// 		       _size_word         (param._size_word    )
//     { };

  Statistics::~Statistics () 
  {
    for (uint32_t i=0; i<_nb_statistics; i++)
      delete _counters[i];
  };

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