Performance-Monitoring Counters Library, for Intel/AMD Processors and Linux
This example introduces
rabbit command-line options -Input -input input_file
Download this example: in.sample, in.sweep
Return to Main Menu
Command-Line Options
-Input
-input input_file
The -input option reads a file in the format produced by the -Input option.
It is recommended that input files be created with -Input and then
modified, as the treatment of keywords in the file is rather stringent.
Blank lines, and lines beginning with '#' are ignored. The --event_pairs
keyword must be the last such in the file, followed by the event table.
The --event_pairs keyword cancels the effect of a previous -group keyword
or -group option. Other keywords and options may replace or mask values
given in the event table; this is explained in the file produced by -Input.
Examples
rabbit -g 0 -I > z # build an input file, with --c 0
more z # read the file
rabbit -I -i z # read and echo the file
rabbit -I --c 1 -i z # substitute a value, the file overrides
rabbit -I -i z --c 1 # substitute a value, the command overrides
rabbit -I --c 1 -i z --c 2 # substitute a value, the last applies
Example - Pentium Pro/II/III performance characterization
Two input files for an exhaustive study of the Pentium Pro/II/III.
rabbit -i in.sample foo
rabbit -i in.sweep foo
Performance-Monitoring Counters Library, for Intel/AMD Processors and Linux
Author: Don Heller, dheller@scl.ameslab.gov
Last revised: 2 August 2000