diff options
author | Tushar Krishna <tushar@csail.mit.edu> | 2011-05-18 03:06:07 -0400 |
---|---|---|
committer | Tushar Krishna <tushar@csail.mit.edu> | 2011-05-18 03:06:07 -0400 |
commit | 3ed048e4f5854b260a29164da92ba16ad7881740 (patch) | |
tree | f5d4658fc36724eec7cac67c1900caf39a64b219 /src/mem/ruby/network/Network.hh | |
parent | 26eaba4cb5a5933c17abe9efca8590610f1e36b4 (diff) | |
download | gem5-3ed048e4f5854b260a29164da92ba16ad7881740.tar.xz |
slicc: added vnet_type field to identify response vnets from others
Identifying response vnets versus other vnets will allow garnet to
determine which vnets will carry data packets, and which will carry
ctrl packets, and use appropriate buffer sizes (since data packets are larger
than ctrl packets). This in turn allows the orion power model to accurately
estimate buffer power.
Diffstat (limited to 'src/mem/ruby/network/Network.hh')
-rw-r--r-- | src/mem/ruby/network/Network.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/network/Network.hh b/src/mem/ruby/network/Network.hh index cce81f266..309560921 100644 --- a/src/mem/ruby/network/Network.hh +++ b/src/mem/ruby/network/Network.hh @@ -71,9 +71,9 @@ class Network : public SimObject // returns the queue requested for the given component virtual MessageBuffer* getToNetQueue(NodeID id, bool ordered, - int netNumber) = 0; + int netNumber, std::string vnet_type) = 0; virtual MessageBuffer* getFromNetQueue(NodeID id, bool ordered, - int netNumber) = 0; + int netNumber, std::string vnet_type) = 0; virtual const std::vector<Throttle*>* getThrottles(NodeID id) const; virtual int getNumNodes() {return 1;} |