cpu: Add support for protobuf input for the trace generator
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)
commit1da209140cd7bf267315b10698bf14c21a76b1b8
treefdfc048fe02cdd6862a21361484e75c97fca4366
parent9c5ef235cc595d0f51b0810786c2b512bef7c69f
cpu: Add support for protobuf input for the trace generator

This patch adds support for reading input traces encoded using
protobuf according to what is done in the CommMonitor.

A follow-up patch adds a Python script that can be used to convert the
previously used ASCII traces to protobuf equivalents. The appropriate
regression input is updated as part of this patch.
src/cpu/testers/traffic_gen/SConscript
src/cpu/testers/traffic_gen/traffic_gen.cc
src/cpu/testers/traffic_gen/traffic_gen.hh
tests/configs/tgen-simple-dram.py
tests/configs/tgen-simple-mem.py
tests/quick/se/70.tgen/tgen-simple-mem.trc