Overview topicAbout Activity Results

Activity results are the result of running an Activity. Running an Activity runs the data collector, which in turn collects performance data and generates Activity results. The Activity results are saved as nodes in the Tuning Browser and can be viewed later without re-running the Activity.

Activity results enable you to compare performance before and after modifying an application. For example, you can generate Activity results for one version of the executable file, revise the code, generate a new executable file, run the same Activity, and generate new Activity results. You can now compare the two sets of Activity results to see if the performance has changed.

Viewing Activity Results from GUI

To view the Activity results from GUI:

  1. Select the Activity result in the Tuning Browser.

  2. Double-click to open a related data view.

    The data view appears and displays the data. From the data view, you can drill down to more details or to a specific hotspot or section of your code, if you are tuning a specific application.

 

An Activity with one collector and its Activity results appears in the Tuning Browser as follows:

Activity name

collector Results [machine name] - date and time1 (#n)

       sub results

collector Results [machine name] - date and time2 (#m)

Where:

Item

Description

Activity name

The name of the Activity.

collector

The name of the collector. If the Activity has more than one collector, each collector generates a separate Activity result.

machine name

The name of the machine on which the data was collected.

date and time

The date and time at which the Activity result was generated.

#n and #m

A unique value that distinguishes one Activity Result from another. This value may be used in data views.

This following example shows all these elements in the Tuning Browser:

Activity results in the Eclipse* environment

To compare two or more Activity results side by side:

  1. Double-click one Activity result to open its related data view.

  2. Drag another Activity result onto the open data view.

    Repeat for any additional Activity Result you would like to compare.

  3. Drag and drop column headers to enable comparison between two related columns,

    or, right-click the columns section and select Column Layout. Use the arrows to rearrange the columns.

Note

Some data collectors may not support comparison of Activity results side by side.

Viewing Activity Results from the Command Line

To view the Activity results from the command line, enter:

vtl show [-a | -all]

The show command without any options displays all Activities in the project and top-level Activity results.

Command-line example:

a1__Activity1

    r1__Sampling Results - Fri Oct 25 17:48:45 2002

a2__Activity2

    r1__Sampling Results - Fri Oct 25 18:10:10 2002

    r2__Sampling Results - Fri Oct 25 18:15:06 2002       

To view the entire content of the project tree, use -all (or -a) option. The Activity and its Activity results will be displayed in the following format:

a1__Activity1

    r1__activity result 1

      r2___Mini ar result 1

      r3___Mini ar result 2

a2__Activity2

    r1__activity result 1

This will show both the short and full name of the Activities and Activity results. For sampling data collection, for example, this invocation will show all Activity runs for each event.

Other Activity Operations