diff options
Diffstat (limited to 'src/cpu/trace/trace_cpu.hh')
-rw-r--r-- | src/cpu/trace/trace_cpu.hh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/cpu/trace/trace_cpu.hh b/src/cpu/trace/trace_cpu.hh index 846a3e7c5..07c739c57 100644 --- a/src/cpu/trace/trace_cpu.hh +++ b/src/cpu/trace/trace_cpu.hh @@ -177,7 +177,7 @@ class TraceCPU : public BaseCPU * Set the no. of ops when elastic data generator completes executing a * node. */ - void updateNumOps(uint64_t rob_num) { numOps = rob_num; } + void updateNumOps(uint64_t rob_num); /* Pure virtual function in BaseCPU. Do nothing. */ void wakeup(ThreadID tid = 0) @@ -1122,6 +1122,19 @@ class TraceCPU : public BaseCPU */ const bool enableEarlyExit; + /** + * Interval of committed instructions specified by the user at which a + * progress info message is printed + */ + const uint64_t progressMsgInterval; + + /* + * The progress msg threshold is kept updated to the next multiple of the + * progress msg interval. As soon as the threshold is reached, an info + * message is printed. + */ + uint64_t progressMsgThreshold; + Stats::Scalar numSchedDcacheEvent; Stats::Scalar numSchedIcacheEvent; |