diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-20 17:26:41 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-02-20 17:26:41 -0600 |
commit | b312a41f21b6f76607fe7480a915a4c5093386a3 (patch) | |
tree | 94092e1c3a3123af56a22aa2fd745ab8a66ba00b /src/mem/ruby/network/garnet | |
parent | 0d6009e8dc3ab8419ca7daf9c79c9c987464e3ae (diff) | |
download | gem5-b312a41f21b6f76607fe7480a915a4c5093386a3.tar.xz |
ruby: message buffer: removes some unecessary functions.
Diffstat (limited to 'src/mem/ruby/network/garnet')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc | 2 | ||||
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc index adf1c1a4d..f3457ebc7 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/NetworkInterface_d.cc @@ -227,7 +227,7 @@ NetworkInterface_d::wakeup() while (inNode_ptr[vnet]->isReady()) { // Is there a message waiting msg_ptr = inNode_ptr[vnet]->peekMsgPtr(); if (flitisizeMessage(msg_ptr, vnet)) { - inNode_ptr[vnet]->pop(); + inNode_ptr[vnet]->dequeue(); } else { break; } diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc b/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc index 09e068557..fb918f95d 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/NetworkInterface.cc @@ -253,7 +253,7 @@ NetworkInterface::wakeup() { msg_ptr = inNode_ptr[vnet]->peekMsgPtr(); if (flitisizeMessage(msg_ptr, vnet)) { - inNode_ptr[vnet]->pop(); + inNode_ptr[vnet]->dequeue(); } else { break; } |