Review Board 2.0.15


stats: Add the total for vector and formula stats to SQL output

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

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9713:7583ac576962
---------------------------
stats: Add the total for vector and formula stats to SQL output

This patch adds the total for vector, vector2d and formula stats to the SQL
output database. The total for the three different types needs to be
calculated in a stat-specific way, and therefore we need to check the type
of statistic before calculating and writing the total to the database.