summaryrefslogtreecommitdiff
path: root/src/sim/system.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-01-07 13:05:37 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-01-07 13:05:37 -0500
commit11ab30fa5a4f56e4f7ea3b5b51e529bc246d1d35 (patch)
tree9fc23b5e7e88fac00f385f48d185caef7eec31ba /src/sim/system.hh
parent41f228c2ea5ab28d6400a259538e77d122066711 (diff)
downloadgem5-11ab30fa5a4f56e4f7ea3b5b51e529bc246d1d35.tar.xz
base: Add wrapped protobuf output streams
This patch adds support for outputting protobuf messages through a ProtoOutputStream which hides the internal streams used by the library. The stream is created based on the name of an output file and optionally includes compression using gzip. The output stream will start by putting a magic number in the file, and then for every message that is serialized prepend the size such that the stream can be written and read incrementally. At this point this merely serves as a proof of concept.
Diffstat (limited to 'src/sim/system.hh')
0 files changed, 0 insertions, 0 deletions