DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Analyzing run-time behavior

Running the experiment

Due to the simplicity in creating block profiled programs, there is little reason to give options to decide whether or how the information is logged. Simply, if you don't want logging, don't run the logging version of the program!

As for where the logs are written, this can be specified as an option to mklog (it is hard-coded into the object code). By default, the logs are written to the current directory, under the filename block.basename.num (where num is incremented until a unique number is found). So, this line:

    $ fur -b all -c 'mklog -p /tmp/block.out' all.o
would cause the log files to be named /tmp/block.out.00, /tmp/block.out.01 etc.,

Running the experiment is as simple as running your program. Just run your program normally and the log files are produced in the designated locations.


Next topic: Analyzing the results of the experiment
Previous topic: Relinking the program

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004