gem5/src/python/m5/util
Andreas Sandberg 7110d2313e 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>
2017-03-21 10:30:02 +00:00
..
__init__.py python: Automatically disable listeners in batch setups 2017-03-21 10:30:02 +00:00
attrdict.py util: clean up attrdict and import multiattrdict into m5.util 2010-06-14 23:24:46 -07:00
code_formatter.py code_formatter: make it easier to insert whitespace 2010-09-09 14:15:41 -07:00
convert.py config: Add Current as a parameter type 2014-10-09 17:52:00 -04:00
dot_writer.py misc: Bail out of DVFS dot if we cannot resolve the domains 2016-04-06 17:55:17 +01:00
grammar.py grammar: better encapsulation of a grammar and parsing 2011-07-05 18:30:04 -07:00
jobfile.py python: Move more code into m5.util allow SCons to use that code. 2009-09-22 15:24:16 -07:00
multidict.py python: Move various utility classes into a new m5.util package so 2008-06-14 20:19:49 -07:00
orderdict.py orderdict: Use DictMixin and add orderdict to m5.util 2009-08-16 13:40:00 -07:00
smartdict.py SmartDict: Make SmartDict an attrdict 2010-02-28 19:28:09 -08:00
sorteddict.py SortedDict: add functions for getting ranges of keys, values, items 2011-04-15 10:38:02 -07:00
terminal.py Regression: Add ANSI colours to highlight test status 2012-04-14 05:44:27 -04:00