Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Performance plot tools


This document describes how you can plot the performance of an IDEA agent using it's log file.

One needs to have gnuplot installed to use the scripts.

Reporting scripts

runplot_all

Will run plot_all on each log file in the directory passed in as the first argument and parse the results into the directory passed in as the second argument.

Usage: ./runplot_all <searchdir> <outputdir>

Example:
 ./runplot_all /home/user/me/dir_with_log_files /home/user/me/dir_for_output

plot_all

Takes a log file and will create a report containing some plots, all warnings and errors and events. An event is defined by the script 'build-summary-from-log' in the IDEA-DEV/Tools/Test directory

Usage: ./plot_all <log-file-name> <output-dir> {noplot}

Example:
./plot_all log PlotLogs

plot

Takes a log file and generates a plot of all the reactive planner cycles divided in the following segments:

Usage: plot <log-file-name> <plot/noplot> {noplot}

Warning:
This script only works if agent-name and thread-names contain no white-spaces!
Example:
./plot log
./plot log noplot

Usage: plot <log-file-name> <plot/noplot> {noplot}

Warning:
This script only works if agent-name and thread-names contain no white-spaces!
Example:
./plot_init log
./plot_init log noplot

plot_efficiency

Takes a log file and generates an efficiency plot of reactive planning cycles. Efficiency is definded as E=1-((Step-Depth)/Step) and should be a metric for the efficiency of the search, the more beacktrack the lower the effciency (100% efficiency indicates that there was no backtracking).

Usage: plot_efficiency <log-file-name> <parse/noparse> [start-tick] [end-tick] [title/plotting options]

Ths keyword lets you filter data by efficiency (not yet) . The default filter is by ticks. The filters should only be used with the noparse option The default for this program will provide unspecified range by ticks.

Warning:
This script only works if agent-name and thread-names contain no white-spaces!
 
 Example usage:
 ./plot_efficiency log parse
 ./plot_efficiency log noparse
 ./plot_efficiency log noparse 100 200 new_title

The first time it is used, the log file will be parsed and plotted.

Thereafter, the original log file does not have to be parsed thus you may use the log-plot.data file with the noparse option to disable the parsing of the original file.

When no parse is selected, it only needs to parse the much smaller -plot.data file thus it is quicker.

plot_efficiencyC

Like plot_efficiency but the x-axis of the graph is compressed.

Usage: plot_efficiency <log-file-name> <parse/noparse> [start-tick] [end-tick] [title/plotting options]

Ths keyword lets you filter data by efficiency (not yet) . The default filter is by ticks. The filters should only be used with the noparse option The default for this program will provide unspecified range by ticks.

Warning:
This script only works if agent-name and thread-names contain no white-spaces!
The first time it is used, the log file will be parsed and plotted.

Thereafter, the original log file does not have to be parsed thus you may use the log-plot.data file with the noparse option to disable the parsing of the original file.

When no parse is selected, it only needs to parse the much smaller -plot.data file thus it is quicker.


Contact information
© IDEA
Generated on Fri Feb 3 17:09:44 2006 for IDEA.