Chapter 9. Merging Analysis Files

9.1 Reasons to merge analysis files
9.2 Analysis file compatibility
9.3 How to merge analysis files

Chapter 9 explains the process of merging analysis files. It includes a section on how merging analysis files can be beneficial, an explanation of analysis file compatibility, and a description of the process.

9.1 Reasons to merge analysis files

RealView Profiler provides you with the capability to merge multiple analysis files into a single file, provided the analysis files are produced using the same source code and processor. Doing this can be beneficial in your effort to streamline your code for a number of reasons:

If a function is still using a disproportionate amount of time or large chunks of code have not been covered after your program has been put through its paces multiple times with different input data, then the targets for optimization become all the clearer.

9.2 Analysis file compatibility

In order to merge analysis files, they need to fulfill the following compatibility requirements:

Trying to combine incompatible analysis files will produce an error dialog with the text, "Incompatible files chosen for merging."

9.3 How to merge analysis files

To merge multiple analysis files file into a single file, first select the compatible analysis files you would like to merge in Eclipse's package explorer, then right-click and choose the 'Merge Analysis Data' option from the resulting contextual menu.

Figure 9.1. Merging Analysis Data

If successful, a dialog will appear, asking you to name the newly merged file.

You can also use the -m option with rvp to merge files on the command line. For more information on RealView Profiler command line functionality, see Appendix A.

Copyright © 2007 ARM Limited. All rights reserved. ARM DUI 0412A