Review Board 2.0.15


stats: Add the geometric mean to the histogram

Review Request #1641 - Created Jan. 15, 2013 and updated - Latest diff uploaded

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9518:aa3cff339427
---------------------------
stats: Add the geometric mean to the histogram

This patch adds the geometric mean to the histogram stat. This requires the
sum of logs of individual samples to be used. This is already calculated in
C++ and therefore simply needs to be passed into the python.

The geometric mean is written to the text based output, whereas only the sum of
logs of individual samples is written to the SQL database. This is done as the
geometric mean can be calculated offline.