summaryrefslogtreecommitdiff
path: root/src/python/m5/main.py
diff options
context:
space:
mode:
authorSascha Bischoff <sascha.bischoff@arm.com>2015-12-15 09:40:56 +0000
committerSascha Bischoff <sascha.bischoff@arm.com>2015-12-15 09:40:56 +0000
commit774350b750a3d34ed55f0846d0cd8f8fc4b3897d (patch)
treefa1df70222e6e34f5b83ec97f590482f844c845a /src/python/m5/main.py
parent38a369c473a8c4b53116806fb50797ab73e7442e (diff)
downloadgem5-774350b750a3d34ed55f0846d0cd8f8fc4b3897d.tar.xz
misc: Add secondary dot output for DVFS domains
This patch adds a secondary dot output file which shows the DVFS domains. This has been done separately for now to avoid cluttering the already existing diagram. Due to the way that the clock domains are assigned to components in gem5, this output must be generated after the C++ objects have been instantiated. This further motivates the need to generate this file separately to the current dot output, and not to replace it entirely.
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r--src/python/m5/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index deb4725ac..ea2a06e9e 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -91,6 +91,9 @@ 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",
+ help="Create DOT & pdf outputs of the DVFS configuration" + \
+ " [Default: %default]")
# Debugging options
group("Debugging Options")