Line Interface Specification
Developer Beta Version : November 13,
Table of Contents
Command Line Definitions
Definitions of Important
- Experiment: A set of collectors and
bound together to generate performance metrics..
- Collector: Portion of the tool containing logic
responsible for the gathering of the performance metric.
- Metric: The entity, which the collector/experiment
A time, occurrence counter, or other entity, which reflects in some way
on the applications performance and is gathered by a performance
experiment (by the collector).
- Focused experiment: The experiment that is in
active context. The last created experiment is usually the
default or focused experiment, however, the expFocus command
will set the
experiment specified in the expFocus
command to be the focused or default experiment.
- Framework: The set of API functions that
allows the user
interface to manage the creation and viewing of performance
experiments. It is the interface between the user interface
and the DPCL and Dyninst components.
Assumptions used in
the Definition of the Commands
- There is a focused (default) experiment id
available to subsequent commands.
- Our tool will not change the focus of
on an experiment.
It can only be changed or set initially by the user. The one exception
to this is when the experiment is created via the expCreate
command the focus is set to this experiment.
- The user can change the focus at anytime via the expFocus command.
- Commands with no explicit experiment id refer to the currently
focused experiment, e.g. the default experiment.
- There is no experiment context (default) until expCreate command
is successfully completed.
- expCreate with no
application/collector defines an experiment and
returns and experiment id. Collectors/precanned experiments can be
added later. More application
objects can also be added after the expCreate
command is completed.
Invocation of Open|SpeedShop
The openss command supports several
It is possible to define an initial experiment and to pipe in a file of
that will be read. Arguments on the command line are processed first,
any initial experiment; a piped in file is then read and comands in it
if any interactive windows are requested, they are then opened and can
additional commands to the Open|SS performance analysis tool.
The Open|SS Commands
The basic functionality of the commands.
The detail meaning of each command.
The details of each command's sub-field.
A simple list of command with their syntax.
Example scenarios that
show command usage and
tool design flow
First the simple command list is presented, then a
more detailed commentary with the commands is presented. Finally, an
"under the hood" commentary is included with the commands to give the
overall actions of the various parts of the Open|SpeedShop tool.
This simple scenario will build an experiment that
to run a.out and gather pc sampling information.
It will then run the experiment,
pause the experiment, change an argument to the
experiment, continue the experiment, and finally display the results
of the experiment.
Details of Example 1
This simple scenario
will intermingle the creation of experiments and loading of executables
on host1, create several experiments for all executables and start the
Details of Example 2
This more complex scenario
will insert and remove instrumentation at various times during
of a program running on several hosts.
Details of Example 3