Review Board 2.0.15


eventq: add classes for Clock, ClockTicker, and PeriodicEvent

Review Request #8 - Created April 18, 2010 and updated - Latest diff uploaded

Information
Nathan Binkert
gem5
Reviewers
Default
eventq: add classes for Clock, ClockTicker, and PeriodicEvent
- Clock class is simply a phase and a period and can calculate the
next edge based on these variables
- ClockTicker class keeps track of the current clock cycle and is
intended to be used to schedule events
- PeriodicEvent class uses a ClockTicker to call an event on every
clock edge with simple functions to enable and disable the ticker