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/network/simple/Throttle.cc | |
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/network/simple/Throttle.cc')
-rw-r--r-- | src/mem/ruby/network/simple/Throttle.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/ruby/network/simple/Throttle.cc b/src/mem/ruby/network/simple/Throttle.cc index 55e5b4e78..28638cca9 100644 --- a/src/mem/ruby/network/simple/Throttle.cc +++ b/src/mem/ruby/network/simple/Throttle.cc @@ -250,8 +250,7 @@ Throttle::getUtilization() const void Throttle::print(ostream& out) const { - out << "[Throttle: " << m_sID << " " << m_node - << " bw: " << getLinkBandwidth() << "]"; + ccprintf(out, "[%i bw: %i]", m_node, getLinkBandwidth()); } int |