diff options
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() |