Review Board 2.0.15


stats: organize and clarify resettable stats

Review Request #3235 - Created Nov. 23, 2015 and updated - Latest diff uploaded

Information
Lena Olson
gem5
default
Reviewers
Default
Changeset 11230:374d79447577
---------------------------
stats: organize and clarify resettable stats

Some stats (e.g. sim_insts) were traditionally not reset, because they were
intended for simulator-level measurement. However, some other stats (e.g.
sim_ticks) WERE reset. In addition, some derived stats used both reset and
unreset stats in the calculation, resulting in nonsense values. This patch
creates two sets of overall stats: one set that respects reset, and is useful
for measuring the simulated program, and one set that does not reset, useful for
studying the simulator itself.  The non-resettable stats are prefixed with
"simulator_", as they behave different from other stats.