[m5-dev] changeset in m5: Tracing: Add accessors so tracers can get at da...

2009-07-20 Thread Gabe Black
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

Re: [m5-dev] changeset in m5: Tracing: Add accessors so tracers can get at da...

2009-07-20 Thread nathan binkert
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,