ruby: PerfectSwitch: moves code to a per vnet helper function
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 1 Sep 2014 21:55:48 +0000 (16:55 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 1 Sep 2014 21:55:48 +0000 (16:55 -0500)
commitb4dade6fb273baaf86d316ca90fba5ebc7d4b717
treefb74926d6c1fb64b400e7dd65517369f13dab693
parent7a0d5aafe4b845a2d1cff6210d7c6ee66e8aba61
ruby: PerfectSwitch: moves code to a per vnet helper function
This patch moves code from the wakeup() function to a operateVnet().
The aim is to improve the readiblity of the code.
src/mem/ruby/network/simple/PerfectSwitch.cc
src/mem/ruby/network/simple/PerfectSwitch.hh