sim: Add support for dynamic frequency scaling
authorChristopher Torng <clt67@cornell.edu>
Mon, 30 Dec 2013 01:29:45 +0000 (19:29 -0600)
committerChristopher Torng <clt67@cornell.edu>
Mon, 30 Dec 2013 01:29:45 +0000 (19:29 -0600)
commitb4b03a60b170362aa0ae9dcfd224ed4fbce69683
treeb8897d2af9e81d50cbc251205b363cd0c5a89fd2
parent903b442228efd27b8b7b49201eacc96c282714b5
sim: Add support for dynamic frequency scaling
This patch provides support for DFS by having ClockedObjects register
themselves with their clock domain at construction time in a member list.
Using this list, a clock domain can update each member's tick to the
curTick() before modifying the clock period.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/sim/clock_domain.cc
src/sim/clock_domain.hh
src/sim/clocked_object.hh