cpu: Share the send functionality between traffic generators
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:37 +0000 (13:05 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 7 Jan 2013 18:05:37 +0000 (13:05 -0500)
commitccb6c640471ba2843199508bd8cd95a2f09438f5
treeb041b63a9d5b26e32f8a3b59e5817138bbdc5b13
parent1da209140cd7bf267315b10698bf14c21a76b1b8
cpu: Share the send functionality between traffic generators

This patch moves the packet creating and sending to a member function
in the shared base class to avoid code duplication.
src/cpu/testers/traffic_gen/traffic_gen.cc
src/cpu/testers/traffic_gen/traffic_gen.hh