diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-02-23 00:58:40 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-02-23 00:58:40 -0500 |
commit | 67cc52a6056e17ff5bc9e0da60e1e498a5dc2c1b (patch) | |
tree | 1c9036bf240e80a618a4691f1b9b1486270dc444 /src/mem/ruby/buffers/MessageBuffer.hh | |
parent | 63a25a56ccc93c24703fec87f830c833974e7060 (diff) | |
download | gem5-67cc52a6056e17ff5bc9e0da60e1e498a5dc2c1b.tar.xz |
ruby: cleaning up RubyQueue and RubyNetwork dprintfs
Overall, continue to progress Ruby debug messages to more of the normal M5
debug message style
- add a name() to the Ruby Throttle & PerfectSwitch objects so that the debug output
isn't littered w/"global:" everywhere.
- clean up messages that print over multiple lines when possible
- clean up duplicate prints in the message buffer
Diffstat (limited to 'src/mem/ruby/buffers/MessageBuffer.hh')
-rw-r--r-- | src/mem/ruby/buffers/MessageBuffer.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/ruby/buffers/MessageBuffer.hh b/src/mem/ruby/buffers/MessageBuffer.hh index 88df5b788..a59b82077 100644 --- a/src/mem/ruby/buffers/MessageBuffer.hh +++ b/src/mem/ruby/buffers/MessageBuffer.hh @@ -53,6 +53,8 @@ class MessageBuffer public: MessageBuffer(const std::string &name = ""); + std::string name() const { return m_name; } + static void printConfig(std::ostream& out) {} void setRecycleLatency(int recycle_latency) |