summaryrefslogtreecommitdiff
path: root/src/python/m5/main.py
diff options
context:
space:
mode:
authorSascha Bischoff <sascha.bischoff@arm.com>2016-04-06 17:55:17 +0100
committerSascha Bischoff <sascha.bischoff@arm.com>2016-04-06 17:55:17 +0100
commit1097aa1638dc3b1e009738932908ab5c253b461b (patch)
tree9e1a15cf79004d2def23409ad5167147c8763533 /src/python/m5/main.py
parentfd52a63e24fe047e1dafc48e5da9b4ce1b086c49 (diff)
downloadgem5-1097aa1638dc3b1e009738932908ab5c253b461b.tar.xz
misc: Bail out of DVFS dot if we cannot resolve the domains
This changeset updates the dot output to bail out if it is unable to resolve the voltage or clock domains (which will cause it to raise an AttributeError). Additionally, the DVFS dot output is disabled by default for speed purposes. Minor fixup for 0aeca8f.
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r--src/python/m5/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index ea2a06e9e..36d3d7d35 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -91,7 +91,7 @@ def parse_options():
help="Create JSON output of the configuration [Default: %default]")
option("--dot-config", metavar="FILE", default="config.dot",
help="Create DOT & pdf outputs of the configuration [Default: %default]")
- option("--dot-dvfs-config", metavar="FILE", default="config_dvfs.dot",
+ option("--dot-dvfs-config", metavar="FILE", default=None,
help="Create DOT & pdf outputs of the DVFS configuration" + \
" [Default: %default]")