Collecting Data for the cachetest Example

In this example you generate several experiments that are run with different selections of hardware counters.

To collect data for cachetest, type the following commands in a terminal window.

% cd /work-directory/cachetest
% collect -o flops.er -S off -p on -h fpadd,,fpmul \     cachetest
% collect -o cpi.er -S off -p on -h cycles,,insts \     cachetest
% collect -o dcstall.er -S off -h dcstall cachetest

Here, work-directory is the full path to the directory that you created for the examples. The collect commands create three experiments in the cachetest subdirectory, named flops.er, cpi.er, and dcstall.er. If you make a mistake in recording the experiments and already have experiments with these names, you can remove them using the er_rm command.

For information on the collect command, see the collect(1) man page. If you are already familiar with the collect command, you can type make collect instead of the commands given above.


Can't find what you are looking for? Submit your comments at http://www.sun.com/hwdocs/feedback.
Legal Notices