simulate.py (11418:0aeca8f47eac) simulate.py (11431:871eaaa0ab24)
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 115 unchanged lines hidden (view full) ---

124 for obj in root.descendants(): obj.regProbePoints()
125
126 # Do a fifth pass to connect probe listeners
127 for obj in root.descendants(): obj.regProbeListeners()
128
129 # We want to generate the DVFS diagram for the system. This can only be
130 # done once all of the CPP objects have been created and initialised so
131 # that we are able to figure out which object belongs to which domain.
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 115 unchanged lines hidden (view full) ---

124 for obj in root.descendants(): obj.regProbePoints()
125
126 # Do a fifth pass to connect probe listeners
127 for obj in root.descendants(): obj.regProbeListeners()
128
129 # We want to generate the DVFS diagram for the system. This can only be
130 # done once all of the CPP objects have been created and initialised so
131 # that we are able to figure out which object belongs to which domain.
132 do_dvfs_dot(root, options.outdir, options.dot_dvfs_config)
132 if options.dot_dvfs_config:
133 do_dvfs_dot(root, options.outdir, options.dot_dvfs_config)
133
134 # We're done registering statistics. Enable the stats package now.
135 stats.enable()
136
137 # Restore checkpoint (if any)
138 if ckpt_dir:
139 _drain_manager.preCheckpointRestore()
140 ckpt = internal.core.getCheckpoint(ckpt_dir)

--- 233 unchanged lines hidden ---
134
135 # We're done registering statistics. Enable the stats package now.
136 stats.enable()
137
138 # Restore checkpoint (if any)
139 if ckpt_dir:
140 _drain_manager.preCheckpointRestore()
141 ckpt = internal.core.getCheckpoint(ckpt_dir)

--- 233 unchanged lines hidden ---