Review Board 2.0.15


sim: Pre-compute the clock period

Review Request #1885 - Created May 27, 2013 and discarded - Latest diff uploaded

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9761:a04648a0d2c6
---------------------------
sim: Pre-compute the clock period

This patch changes the source and derived clock domain such that no
virtual functions or multiplications are needed when calling
clockPeriod. Instead, the clock period is pre-computed when any
changes occur. For this to be possible, a clock domain must be aware
of its children and the corresponding data structures and methods have
been added to facilitate this.
All regressions pass