diff options
author | Stephan Diestelhorst <stephan.diestelhorst@arm.com> | 2014-05-09 18:58:46 -0400 |
---|---|---|
committer | Stephan Diestelhorst <stephan.diestelhorst@arm.com> | 2014-05-09 18:58:46 -0400 |
commit | b9e6c260a01bab2b59d6eef4f45a642f57484275 (patch) | |
tree | 4a5e51b1c8898e4e00a8b444848b9f7186458d1d /src/mem/packet.cc | |
parent | 2b1a01ee6ccda9f046b1ceb13c90ee0635473959 (diff) | |
download | gem5-b9e6c260a01bab2b59d6eef4f45a642f57484275.tar.xz |
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
Diffstat (limited to 'src/mem/packet.cc')
0 files changed, 0 insertions, 0 deletions