diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-02-16 03:35:23 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-02-16 03:35:23 -0500 |
commit | f18d2120fa66803912dcce61fe6c704a6a05a2d1 (patch) | |
tree | c4a9ff8f4c66d1ebd95b63e6ac161c9c7e38a4ab /configs/example/se.py | |
parent | 8c78aa31ea6032d52ecf662f4f11860d995cd5b3 (diff) | |
download | gem5-f18d2120fa66803912dcce61fe6c704a6a05a2d1.tar.xz |
config: Add memcheck stress test
This is a rather unfortunate copy of the memtest.py example script,
that actually stresses the system with true sharing as opposed to the
false sharing of the MemTest. To do so it uses TrafficGen instances to
generate the reads/writes, and MemCheckerMonitor combined with the
MemChecker to check the validity of the read/written values.
As a bonus, this script also enables the addition of prefetchers, and
the traffic is created to have a mix of random addresses and linear
strides. We use the TaggedPrefetcher since the packets do not have a
request with a PC.
At the moment the code is almost identical to the memtest.py script,
and no effort has been made to factor out the construction of the
tree. The challenge is that the instantiation and connection of the
testers and monitors is done as part of the tree building.
Diffstat (limited to 'configs/example/se.py')
0 files changed, 0 insertions, 0 deletions