#include "base/statistics.hh"
#include "base/str.hh"
#include "base/trace.hh"
-#include "sim/universe.hh"
#ifdef __M5_NAN
float
map_t statMap;
public:
- void dump(ostream &stream, DisplayMode mode);
+ void dump(ostream &stream, const string &name, DisplayMode mode);
void display(ostream &stream, DisplayMode mode);
StatData *find(void *stat);
void
-Data::dump(ostream &stream, DisplayMode mode)
+Data::dump(ostream &stream, const string &name, DisplayMode mode)
{
MainBin *orig = MainBin::curBin();
}
void
-dump(ostream &stream, DisplayMode mode)
+dump(ostream &stream, const string &name, DisplayMode mode)
{
- Database::StatDB().dump(stream, mode);
+ Database::StatDB().dump(stream, name, mode);
}
CallbackQueue resetQueue;
*/
void check();
-void dump(std::ostream &stream, DisplayMode mode = DefaultMode);
+void dump(std::ostream &stream, const std::string &name = "",
+ DisplayMode mode = DefaultMode);
void reset();
void registerResetCallback(Callback *cb);