I forgot to mention in the commit message that this changeset is basically equivalent to 's/curTick/curTick()/g'.
If you have outstanding mq patches that you need to rebase after this changeset, you can *probably* get away with running perl -pi -e 's/curTick/curTick()/g' .hg/patches/* (in theory anyway, assuming you don't have any patches with curTick in their name to mess up the series file, YMMV, make sure to back up the patches directory first). To be more precise, this changeset is equivalent to: find src -type f \! -name '*.py*' | xargs perl -pi -e 's/curTick/curTick()/g' plus some manual edits in the following files: src/python/m5/simulate.py src/python/swig/core.i src/python/swig/stats.i src/sim/core.cc src/sim/core.hh src/sim/serialize.cc src/sim/simulate.cc Note that if you want to see just the changes to those files, you can do: hg log -vpr dac01f14f20f | filterdiff -i '*.py' -i '*.i' -i '*/core.*' -i '*/serialize.cc' -i '*/simulate.cc' Steve On Fri, Jan 7, 2011 at 10:16 PM, Steve Reinhardt <steve.reinha...@amd.com>wrote: > changeset dac01f14f20f in /z/repo/m5 > details: http://repo.m5sim.org/m5?cmd=changeset;node=dac01f14f20f > description: > Replace curTick global variable with accessor functions. > This step makes it easy to replace the accessor functions > (which still access a global variable) with ones that access > per-thread curTick values. >
_______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev