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

Review request for Default.


Repository: gem5


Description
-------

Changeset 10193:ae6a0ea78f4f
---------------------------
stats: Method stats source

This source for stats binds an object and a method / function from the object
to a stats object. This allows pulling out stats from object methods without
needing to go through a global, or static shim.

Syntax is somewhat unpleasant, but the templates and method pointer type
specification were quite tricky.  Interface is very clean though; and similar
to .functor


Diffs
-----

  src/base/statistics.hh e40b35147270 

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


Testing
-------


Thanks,

Andreas Hansson

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

Reply via email to