Hi,

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?

Thanks,
William

-----Original Message-----
From: gem5-dev-boun...@m5sim.org [mailto:gem5-dev-boun...@m5sim.org] On Behalf 
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/init.cc:97:    signal(SIGUSR1, dumpStatsHandler);
_______________________________________________
gem5-dev mailing list
gem5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/gem5-dev


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

_______________________________________________
gem5-dev mailing list
gem5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to