6.1.7. Exporting table data

If you want to save the data displayed in the functions report to disk in a format easily read by other applications, use the export data icon, located to the right of the navigation options in the toolbar. The export command can be used to create a text, tab-delimited, or comma-delimited file on disk which contains data from the selected table. The amount of data exported is up to you.

When you have selected the export command, the ARM Profiler presents you with an export table dialog similar to the one shown in Figure 6.4:

Figure 6.4. The Export File Dialog

The Export File Dialog

If you have something currently selected in the table report, you can use the two radio buttons at the top of the export table dialog to set the row parameters of the exported data. Use the Export all rows button to export the entire contents of the table or choose the Export only selected rows button to export only the range of rows that are currently selected in the table. The number in parentheses next to the Export only selected rows button indicates the number of rows that are currently selected. If nothing is currently selected in the table report, these export row options do not appear.

When you have chosen the rows you want to export, you can use the next set of radio buttons to set the same options for columns. The first option exports all of the columns, while selecting the second option enables the column header check boxes to manually choose the columns you want to export.

The three radio buttons near the bottom of the export dialog enable you to save the exported data in different formats. Choose the Format with spaces option and the export tool formats the resulting data file with spaces so that it is legible in a monospaced font. Selecting the Use tabs as delimiters button generates a row where the values are separated by tabs, making the file more easily interpreted by common spreadsheet applications. Choosing the final option, Output comma-separated values, outputs a file with the values separated by commas, another format easily understood by spreadsheet applications.

Enter a valid file location in the To file field. the ARM Profiler automatically assigns a file extension based on the output type chosen using the above buttons. The 'Format with spaces' option yields a .txt file, a tab-delimited file is saved as a .tab file, and the comma-separated values option produces a .csv file.

When you have chosen all of your preferred options and entered a file name, click the Export button. A new file appears in the specified location.

Copyright © 2007, 2008 ARM Limited. All rights reserved.ARM DUI 0414C