config, cpu: fix progress interval for switched CPUs
authorMalek Musleh <malek.musleh@gmail.com>
Tue, 14 Apr 2015 16:01:10 +0000 (11:01 -0500)
committerMalek Musleh <malek.musleh@gmail.com>
Tue, 14 Apr 2015 16:01:10 +0000 (11:01 -0500)
commit826f69b47073f23ced9b6a2f5eac51e3ae9bc953
treee51be674b77157fe419d1c6687f2e21a634d36df
parent34ad1123ee5927e3b1503f07649620a533d3eab9
config, cpu: fix progress interval for switched CPUs
This patch ensures that the CPU progress Event is triggered for the new set of
switched_cpus that get scheduled (e.g. during fast-forwarding). it also avoids
printing the interval state if the cpu is currently switched out.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
configs/common/Simulation.py
src/cpu/base.cc