[Gems-users] Start Ruby after the simulation is running?


Date: Sun, 2 Mar 2008 23:13:47 -0800
From: "Jim Leek" <jrleek@xxxxxxxxx>
Subject: [Gems-users] Start Ruby after the simulation is running?
The wiki FAQ (http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/Frequently_Asked_Questions) recommends the following:

4) Be careful to only simulate the important regions of code -- do not
include thread creation / destruction, process forking, etc.

That sounds like a good idea.  What is the standard way to do this?  It seems like you would have to throw an instruction into the benchmark code to halt the simulation and drop back to the simics CLI.  Is there an instruction to do this?  I guess I could use getchar() to do that.  What did the logTM guys do?

Jim
[← Prev in Thread] Current Thread [Next in Thread→]