Re: [gem5-dev] [m5-dev] Review Request: stats: move code that loops over all stats into python

2011-06-08 Thread William Wang
Of nathan binkert Sent: 06 June 2011 22:07 To: gem5 Developer List Cc: M5 Developer List Subject: Re: [gem5-dev] [m5-dev] Review Request: stats: move code that loops over all stats into python Where in the code is the signal from kill -USR1 handled to dump stats? % grep -nR USR1 src src/sim

Re: [gem5-dev] [m5-dev] Review Request: stats: move code that loops over all stats into python

2011-06-08 Thread nathan binkert
I'm trying to call a global function implemented in C++ from a function in the Python __init__.py file, how can I do that? Is that a good example that I can follow? Just add your function foo() to src/python/swig/core.i and then you can access it from m5.internal.core.foo() Most of the

Re: [gem5-dev] [m5-dev] Review Request: stats: move code that loops over all stats into python

2011-06-06 Thread Jack Harvard
On 12 May 2011, at 04:24, Nathan Binkert wrote: --- This is an automatically generated e-mail. To reply, visit: http://reviews.m5sim.org/r/690/#review1226 --- I guess I

Re: [gem5-dev] [m5-dev] Review Request: stats: move code that loops over all stats into python

2011-06-06 Thread nathan binkert
Where in the code is the signal from kill -USR1 handled to dump stats? % grep -nR USR1 src src/sim/init.cc:97:signal(SIGUSR1, dumpStatsHandler); ___ gem5-dev mailing list gem5-dev@m5sim.org http://m5sim.org/mailman/listinfo/gem5-dev