|
|
While the experiment is running, there are various operations that may be performed. As stated earlier, you can turn on and off logging. You can also put a ``mark'' in the log. Basically, marks are records inserted into the logs that can be read back when reading the logs. See ``Analyzing flow-profile results for analysis of run-time flow'' for information on using marks when reading.
To turn off logging, call
fprof -O log1 [log2]...this will tell each of the loggers corresponding to the named logs to stop logging. Conversely, fprof -o turns logging on. Let's look at an example:
$ fprof -s -C StartState=off,Accuracy=normal travel & 963 $ Reading in data . . . fprof -o /tmp/out.963 $ Processing data done.
This will make it such that the "Reading in data . . ." portion of the program is not included in the log.
To place a mark in a log, use
fprof -m log1 [log2]...