stats: Add a separate display class for vector formulas
Review Request #1678 - Created Jan. 28, 2013 and updated - Latest diff uploaded
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9513:6e1f6c9cd4ac --------------------------- stats: Add a separate display class for vector formulas This patch adds a separate display class for vector formulas, which is tailored to more closely resemble that of the original C++ based stats. Unlike the vector class, the total for a formula needs to be evaluated by calculating the total of the numerator and the total of the denominator, and then dividing them. Therefore, the vector formula display class calls the total function of the formula, rather than evaluating the total locally.
