stats: Add the geometric mean to the histogram
Review Request #1641 - Created Jan. 15, 2013 and updated
| 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.
Posted (Jan. 25, 2013, 1:28 a.m.)
Looks good. Make me think that we should have a harmonic mean for completeness. Seems like it would be relatively easy to add this to the distribution stat as well.
Ship It!
Posted (Jan. 25, 2013, 1:41 a.m.)
-
src/python/m5/stats/sql.py (Diff revision 1) -
salf?
Review request changed
Updated (Jan. 28, 2013, 6:43 p.m.)
Description: |
|
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+29 -4) |
