diff options
author | Sascha Bischoff <sascha.bischoff@arm.com> | 2016-04-06 17:55:17 +0100 |
---|---|---|
committer | Sascha Bischoff <sascha.bischoff@arm.com> | 2016-04-06 17:55:17 +0100 |
commit | 1097aa1638dc3b1e009738932908ab5c253b461b (patch) | |
tree | 9e1a15cf79004d2def23409ad5167147c8763533 /src/python/m5/simulate.py | |
parent | fd52a63e24fe047e1dafc48e5da9b4ce1b086c49 (diff) | |
download | gem5-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/simulate.py')
-rw-r--r-- | src/python/m5/simulate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/m5/simulate.py b/src/python/m5/simulate.py index 1d7ebeb9d..b3ae367ba 100644 --- a/src/python/m5/simulate.py +++ b/src/python/m5/simulate.py @@ -129,7 +129,8 @@ def instantiate(ckpt_dir=None): # We want to generate the DVFS diagram for the system. This can only be # done once all of the CPP objects have been created and initialised so # that we are able to figure out which object belongs to which domain. - do_dvfs_dot(root, options.outdir, options.dot_dvfs_config) + if options.dot_dvfs_config: + do_dvfs_dot(root, options.outdir, options.dot_dvfs_config) # We're done registering statistics. Enable the stats package now. stats.enable() |