diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-11-28 16:40:45 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-03-21 10:30:02 +0000 |
commit | 7110d2313e44bf4b611534bbc921ec9808476a37 (patch) | |
tree | af438d63af1c2c2f0a99b71908beb761033b1e60 /src/arch | |
parent | 065bb8c65569004704183ee0eb9eb1b55b9ed574 (diff) | |
download | gem5-7110d2313e44bf4b611534bbc921ec9808476a37.tar.xz |
python: Automatically disable listeners in batch setups
Determine if gem5 is running in a batch environment by checking if
STDIN is wired to a TTY or not. If the simulator is running in a batch
environment, disable all listeners by default. This behavior can be
overridden using the --enable-listeners option.
Change-Id: I404c709135339144216bf08a2769c016c543333c
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sean McGoogan <sean.mcgoogan@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2322
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions