-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/1647/
-----------------------------------------------------------

Review request for Default.


Description
-------

Changeset 9500:18472246898b
---------------------------
stats: Add version information and timestamp to the SQL database

This patch adds both version information and a timestamp to the SQL database.
Therefore, another table, dbInfo, has been added to the database. The version
information has been added to allow simple database expansion in the future
and can therefore be used in a script which converts an older database into
a newer format.

The version is stored in two ways. First of all, it is stored as an integer.
This allows the version of the database to be checked and compared with ease.
The second version representation is as a string. This is designed to be human
readable, and allows the user to understand if they are using the right version
of the database, or processing script.

The timestamp has been added to act as a reference as it stores the time at
which the database was created. As the database is created at the start of the
simulation, it can therefore act as a reference for the particular gem5 run.
Please note that the time stored in the timestamp is in UTC.


Diffs
-----

  src/python/m5/stats/__init__.py 5532a1642108 
  src/python/m5/stats/sql.py PRE-CREATION 

Diff: http://reviews.gem5.org/r/1647/diff/


Testing
-------


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to