%module stats
+%include "std_list.i"
%include "std_string.i"
%{
#include "sim/stat_control.hh"
%}
+%import "base/stats/types.hh"
+%include "base/stats/info.hh"
+
namespace Stats {
void initSimStats();
void initText(const std::string &filename, bool desc);
void dump();
void reset();
-/* namespace Stat */ }
+std::list<Info *> &statsList();
+
+/* namespace Stats */ }
%wrapper %{
// fix up module name to reflect the fact that it's inside the m5 package