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

Review request for Default.


Description
-------

Changeset 9497:9835f2157f30
---------------------------
stats: Optimise SQL stats output to improve speed and file size

This patch optimises the SQL stats. It does this by only writing to the stats
database if and when the stat is non-zero and non-NaN and the corresponding
flag is set. It also removes unnecessary calls to getattr and hasattr by
accessing the values directly. Finally, it only calculates the total for a
formula if necessary


Diffs
-----

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

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


Testing
-------


Thanks,

Andreas Hansson

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

Reply via email to