Using Streamline on the Command Line
ARM DUI 0482K
Copyright © 2010-2012 ARM. All rights reserved.
13-5
ID120712
Non-Confidential
-per_cluster
When used with the
-timeline
option, this option forces Streamline to output
per-cluster data. By default, it outputs aggregated data.
-per_core
Outputs per-core data when used with the
-timeline
option.
-start <seconds>
Filters output data to start at the specified time within the timeline. For example
if you enter 0.005 with the start option, all data before the 5 millisecond mark is
not included in the output.
-
stop <seconds>
Filters output data to stop at the specified time within the timeline.
-bstart <name>
Filter the data to start at the first bookmark with the provided name. For example,
if you enter
-bstart redflag
, all data before the first the first instance of the
bookmark title
redflag
is filtered from the output.
-bstop <seconds>
Filter the data to end at the first bookmark with the provided name.
-format <space|tab|csv>
Use this option to specify the format of the output. Format the tables using spaces,
tabs or comma-separated values. This can be useful if you want to easily convert
output text files to your favorite spreasheet program. The default format is spaces,
making the tables easy to read when printed on the command line.
You can define multiple reports types using these options. For example, enter
streamline
-report -callpath -function thread_001_001.apd
to output only the Call Paths and Functions
data from the
threads_001_001.apd
Analysis Report.
13.2.4
Outputting data to a file
The reports generated by Streamline can be very large. You can add an output file to the
command to send the large quantities of data to a .txt file. For example:
streamline -report -timeline capture_001_001.apd > output.txt
This creates a file,
output.txt
, if it does not already exist, and outputs the data to the new file
instead of the command window.