49a50
> #include <fstream>
56d56
< #include "mem/ruby/common/Debug.hh"
66,67d65
< extern ostream* debug_cout_ptr;
<
700,732d697
< void
< Profiler::profileTransition(const string& component, NodeID version,
< Address addr, const string& state, const string& event,
< const string& next_state, const string& note)
< {
< const int EVENT_SPACES = 20;
< const int ID_SPACES = 3;
< const int TIME_SPACES = 7;
< const int COMP_SPACES = 10;
< const int STATE_SPACES = 6;
<
< if (g_debug_ptr->getDebugTime() <= 0 ||
< g_eventQueue_ptr->getTime() < g_debug_ptr->getDebugTime())
< return;
<
< ostream &out = *debug_cout_ptr;
< out.flags(ios::right);
< out << setw(TIME_SPACES) << g_eventQueue_ptr->getTime() << " ";
< out << setw(ID_SPACES) << version << " ";
< out << setw(COMP_SPACES) << component;
< out << setw(EVENT_SPACES) << event << " ";
<
< out.flags(ios::right);
< out << setw(STATE_SPACES) << state;
< out << ">";
< out.flags(ios::left);
< out << setw(STATE_SPACES) << next_state;
<
< out << " " << addr << " " << note;
<
< out << endl;
< }
<
767,768d731
< const int ID_SPACES = 3;
< const int TIME_SPACES = 7;
770c733,734
< ostream &out = *debug_cout_ptr;
---
> DPRINTFN("%7s %3s RUBY WATCH %d\n", g_eventQueue_ptr->getTime(), id,
> watch_address);
772,776d735
< out.flags(ios::right);
< out << setw(TIME_SPACES) << g_eventQueue_ptr->getTime() << " ";
< out << setw(ID_SPACES) << id << " "
< << "RUBY WATCH " << watch_address << endl;
<