sim: Enable sampling of run-time for code-sections marked using pseudo insts.
authorPrakash Ramrakhyani <Prakash.Ramrakhyani@arm.com>
Tue, 10 Jan 2012 00:08:20 +0000 (18:08 -0600)
committerPrakash Ramrakhyani <Prakash.Ramrakhyani@arm.com>
Tue, 10 Jan 2012 00:08:20 +0000 (18:08 -0600)
commit51aa7e4a0392d5e8f98bd7a4d09f4026dd21bd0a
tree4a93fd0bdfd9e4403053e10ac329500649216f08
parent525d1e46dcb3180c8d73996adc025ce255575bd7
sim: Enable sampling of run-time for code-sections marked using pseudo insts.

This patch adds a mechanism to collect run time samples for specific portions
of a benchmark, using work_begin and work_end pseudo instructions.It also enhances
the histogram stat to report geometric mean.
src/base/statistics.hh
src/base/stats/info.hh
src/base/stats/text.cc
src/python/m5/main.py
src/sim/System.py
src/sim/pseudo_inst.cc
src/sim/system.cc
src/sim/system.hh