cpu: Encapsulate traffic generator input in a stream
Review Request #1576 - Created Dec. 6, 2012 and submitted
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9371:a9e189316c20 --------------------------- cpu: Encapsulate traffic generator input in a stream This patch encapsulates the traffic generator input in a stream class such that the parsing is not visible to the trace generator. The change takes us one step closer to using protobuf-based input traces for the trace replay. The functionality of the current input stream is identical to what it was, and the ASCII format remains the same for now.
util/regress all passing (disregarding t1000 and eio)
-
src/cpu/testers/traffic_gen/traffic_gen.hh (Diff revision 1) -
Do you realize that the class InputStream has a variable named trace? It is confusing two variables of same name in a file.
