ripc - collect performance counter information from an application
ripc args [ app params | -p pid ]
The ripc command produces a report of profile counter information either over the entire run of an application, or over a sample of the runtime of an existing pid.
The following options are supported:
Output a list of the top four counters, paired up so that they can be used as arguments for collect.
Name of file to be used for graph. The default name is counters.ps
If gnuplot is on the path, produce a graph of the performance counter events, and other collected data, over time.
Print help information.
File where the results are to be placed, by default the results will go to stdout.
Process ID to track. This option cannot be used at the same time as specifying commandline of an application.
Print raw counter data in addition to the derived stall info. By default ripc will collect data about performance counters, and compute information which is most likely to be interesting to users (the derived stall information). If -r is specified, ripc will also print the raw data (in addition to the derived stall information).
Run the program multiple times collecting different pairs of counters on each run. This option should be used when the program only runs for a short duration. Since the default is to rotate through the performance counters, short running programs may not accumulate sufficient data otherwise.
Specify the duration in seconds over which data should be collected. The default is 300 seconds (5 minutes).
Output version information.
Generate debug output
Collect extended counter information.
The output of ripc comprises the following sections:
Estimates of the runtime lost due to the various processor stall events.
When extended data is collected, the number of events per instruction is tracked.
A count of the system-wide number of incomplete floating point operations encountered during the run of the application.
Amount of memory that the process uses, and the amount of system vs user time the process has accumulated.
analyzer (1) , collect (1) , er_archive (1) , er_cp (1) , er_export (1) , er_mv (1) , er_print (1) , er_rm (1) , er_src (1)
Performance Analyzer manual