stats: this makes some fixes to AverageStat and AverageVector.
authorLisa Hsu <Lisa.Hsu@amd.com>
Tue, 23 Feb 2010 17:33:18 +0000 (09:33 -0800)
committerLisa Hsu <Lisa.Hsu@amd.com>
Tue, 23 Feb 2010 17:33:18 +0000 (09:33 -0800)
commitbe4cf50c5a6a5761f6474fb9f85a9c241101f3ce
treed9902a5c9c9ec4f9cf0250c59800211d38faeb0a
parent2ad386f104cf84bd8bcb50eef50f04cdbcf9ebf7
stats: this makes some fixes to AverageStat and AverageVector.
Also, make Formulas work on AverageVector.  First, Stat::Average (and thus
Stats::AverageVector) was broken when coming out of a checkpoint and on resets,
this fixes that.  Formulas also didn't work with AverageVector, but added
support for that.
src/base/statistics.hh
src/python/m5/simulate.py