#ifdef STATISTICS
/*
 * $Id: Morpheo_statistics_allocation.cpp 88 2008-12-10 18:31:39Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "TopLevel/include/Morpheo.h"

namespace morpheo {

  using namespace behavioural;

#undef  FUNCTION
#define FUNCTION "Morpheo::statistics_allocation"
  void Morpheo::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
  {
    log_begin(Morpheo,FUNCTION);

    _stat = new Stat (static_cast<std::string>(_name),
		      "Morpheo",
		      param_statistics);

    _stat->add_stat(_component_core->_stat);
    
    log_end(Morpheo,FUNCTION);
  };

}; // end namespace morpheo
#endif
