From 542d0ceebca1d24bfb433ce9fe916b0586f8d029 Mon Sep 17 00:00:00 2001 From: Anthony Gutierrez Date: Sun, 12 Feb 2012 16:07:39 -0600 Subject: cpu: add separate stats for insts/ops both globally and per cpu model --- src/cpu/thread_state.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cpu/thread_state.hh') diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh index 3622ed37f..d1ce83803 100644 --- a/src/cpu/thread_state.hh +++ b/src/cpu/thread_state.hh @@ -132,6 +132,10 @@ struct ThreadState { Counter numInst; /** Stat for number instructions committed. */ Stats::Scalar numInsts; + /** Number of ops (including micro ops) committed. */ + Counter numOp; + /** Stat for number ops (including micro ops) committed. */ + Stats::Scalar numOps; /** Stat for number of memory references. */ Stats::Scalar numMemRefs; -- cgit v1.2.3