summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/simple/Throttle.cc
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2011-11-03 22:46:45 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2011-11-03 22:46:45 -0500
commita547cf34b9216ebbccdb69c3d98af062098b1f28 (patch)
tree2b88b305cc86e731b6ad9a4a0bc13a98c91f5971 /src/mem/ruby/network/simple/Throttle.cc
parentd735abe5dabf483aafb0ccfb0a70cb7c3b0a5a74 (diff)
downloadgem5-a547cf34b9216ebbccdb69c3d98af062098b1f28.tar.xz
Ruby: Remove some unused typedefs
This patch removes some of the unused typedefs. It also moves some of the typedefs from Global.hh to TypeDefines.hh. The patch also eliminates the file NodeID.hh.
Diffstat (limited to 'src/mem/ruby/network/simple/Throttle.cc')
-rw-r--r--src/mem/ruby/network/simple/Throttle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/simple/Throttle.cc b/src/mem/ruby/network/simple/Throttle.cc
index 822989204..b248c6c6c 100644
--- a/src/mem/ruby/network/simple/Throttle.cc
+++ b/src/mem/ruby/network/simple/Throttle.cc
@@ -113,8 +113,8 @@ Throttle::addVirtualNetwork(MessageBuffer* in_ptr, MessageBuffer* out_ptr)
// Set consumer and description
m_in[m_vnets]->setConsumer(this);
- string desc = "[Queue to Throttle " + NodeIDToString(m_sID) + " " +
- NodeIDToString(m_node) + "]";
+ string desc = "[Queue to Throttle " + to_string(m_sID) + " " +
+ to_string(m_node) + "]";
m_in[m_vnets]->setDescription(desc);
m_vnets++;
}