Review Board 2.0.15


stats: Add length of all stats to the SQL stats table

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

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 9498:f69f7b67823f
---------------------------
stats: Add length of all stats to the SQL stats table

This patch adds a field to the stats table in the SQL database which stores
the length of the stat. This is required to successfully re-inject data into
gem5's stats system after storing it in SQL. It also ensures that we are able
to recreate all stats post simulation, even if they were not written to the
database due to being either NaN or zero.