04.04.2013 Views

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

Prism User's Guide - CSAIL People - MIT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

116 <strong>Prism</strong> User <strong>Guide</strong><br />

116_e pa <strong>Prism</strong>___ User.7'!!!!'"'s--: *.......... Gu..'........................................ide!!"~i!.<br />

If no program is loaded at the time, <strong>Prism</strong> loads the corresponding<br />

executable program; if another program is loaded, <strong>Prism</strong> displays a dialog<br />

box and asks if you want to load the program associated with the<br />

performance data. If you don't, the usefulness of the performance data<br />

will be limited, since <strong>Prism</strong> will incorrectly associate the data with the<br />

procedures and source lines of the program that is loaded.<br />

Alternatively, you can issue the perfload command from the command<br />

window, specifying the name of the file in which the data was<br />

saved.<br />

Note these points in saving and loading performance data:<br />

* The performance data is associated with a specific version of the program.<br />

If you modify the program, <strong>Prism</strong> will not be able to load the version for<br />

which the data was collected. (It prints a warning when it detects that its<br />

performance data file is out of date.) Therefore, if you want to use this<br />

feature to maintain a historical record of your attempts at improving a program's<br />

performance, you should rename the program whenever you<br />

change it, and save the earlier versions along with their performance data<br />

files.<br />

* You can display only one set of performance data at a time within <strong>Prism</strong>.<br />

Therefore, if you want to compare data from different versions of a program<br />

on-screen, you have to run multiple instances of <strong>Prism</strong>.<br />

Version 1.2, March 1993<br />

Copyright CD 1993 Thinking Machines Corporation<br />

4<br />

(<br />

4:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!