-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/3358/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

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.


Diffs
-----

  src/cpu/base.cc f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 
  src/cpu/BaseCPU.py f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 
  src/cpu/base.hh f3f72c0ab03eac35ff4b2ab14214b66ec9c11c49 

Diff: http://reviews.gem5.org/r/3358/diff/


Testing
-------


Thanks,

Curtis Dunham

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to