summaryrefslogtreecommitdiff
path: root/util/encode_packet_trace.py
diff options
context:
space:
mode:
authorMatteo Andreozzi <Matteo.Andreozzi@arm.com>2016-02-24 04:16:55 -0500
committerMatteo Andreozzi <Matteo.Andreozzi@arm.com>2016-02-24 04:16:55 -0500
commit496a8c6c924b2b970eafa941b2617aca789ebe3c (patch)
tree90a45d9dc2ae8f362405a088e060ccd8262ea4f5 /util/encode_packet_trace.py
parente2cea54deb1a06bb38e669937bf5f6aad24220c4 (diff)
downloadgem5-496a8c6c924b2b970eafa941b2617aca789ebe3c.tar.xz
cpu: TraceGen fix for tick frequency check
Bug fix for check on protobuf file frequency being different than global frequency. The ASCII encoder script is also fixed, and the example trace used in the regressions is updated.
Diffstat (limited to 'util/encode_packet_trace.py')
-rwxr-xr-xutil/encode_packet_trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/encode_packet_trace.py b/util/encode_packet_trace.py
index bee26f01c..0734d43c8 100755
--- a/util/encode_packet_trace.py
+++ b/util/encode_packet_trace.py
@@ -105,7 +105,7 @@ def main():
header = packet_pb2.PacketHeader()
header.obj_id = "Converted ASCII trace " + sys.argv[1]
# Assume the default tick rate
- header.tick_freq = 1000000000
+ header.tick_freq = 1000000000000
protolib.encodeMessage(proto_out, header)
# For each line in the ASCII trace, create a packet message and