changeset a71fd8e252b7 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=a71fd8e252b7
description:
Tracing: Add accessors so tracers can get at data in trace records.
diffstat:
1 file changed, 22 insertions(+)
src/sim/insttracer.hh | 22 ++
diffs
No big deal, but we decided a while ago that if you have accessors, it
should be:
int _foo;
int foo() const { return _foo; }
void foo(int val) { _foo = val; }
instead of:
int foo;
int getFoo() const { return foo; }
void setFoo(int val) { foo = val; }
On Mon, Jul 20,