Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fast-forward N instructions in zsim #5

Closed
sparsh0mittal opened this issue May 5, 2014 · 2 comments
Closed

How to fast-forward N instructions in zsim #5

sparsh0mittal opened this issue May 5, 2014 · 2 comments
Labels

Comments

@sparsh0mittal
Copy link

With single-threaded apps, how can one fast-forward N instructions in zsim. I think it is related to sim.ffReinstrument, but could not verify, also there is currently no way to specify the exact number of instructions to fast-forward (as per my understanding).

Your reply will be greatly appreciated.

@s5z
Copy link
Owner

s5z commented May 6, 2014

See process0.ffiPoints (e.g. ffiPoints = "10000 20000 30000" will run 10000 instrs, toggle FF, run 20000 instrs, toggle FF, etc). You can determine whether you start ffwded with process0.startFastForwarded = true/false.

@s5z s5z closed this as completed May 6, 2014
@s5z s5z added the question label May 6, 2014
@sparsh0mittal
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants