Review Board 2.0.15


cpu: Query CPU for inst executed from Python

Review Request #3358 - Created March 4, 2016 and submitted - Latest diff uploaded

Information
Curtis Dunham
gem5
default
Reviewers
Default
cpu: Query CPU for inst executed from Python

This patch adds the ability for the simulator to query the number of
instructions a CPU has executed so far per hw-thread. This can be used
to enable more flexible periodic events such as taking checkpoints
starting 1s into simulation and X instructions thereafter.