ruby: perfect switch: refactor code
authorNilay Vaish <nilay@cs.wisc.edu>
Sat, 15 Aug 2015 00:28:44 +0000 (19:28 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Sat, 15 Aug 2015 00:28:44 +0000 (19:28 -0500)
commit5f1d1ce5d47dd586bbed8f055cb5b9b27f3342ea
treec86c588a8e15419c274ff0706b5e011a5b3093b1
parenta706b6259a3cab71700078c4e2b91860cc2219c0
ruby: perfect switch: refactor code

Refactored the code in operateVnet(), moved partly to a new function
operateMessageBuffer().
src/mem/ruby/network/simple/PerfectSwitch.cc
src/mem/ruby/network/simple/PerfectSwitch.hh