Wednesday, June 9, 2010

Runtime analysis in the Solaris Studio IDE

I was pleasantly surprised to find support for runtime analysis embedded in the Solaris Studio IDE. This analysis uses the Performance Analyzer to gather data as the code is running and then presents this data both as timeline views over the runtime of the application, and also source code annotations. Here's the view as the data is gathered.

The tool gathers profile data which is shown as an aggregation of time spent in each routine, and also annotated against each line of source.

The other thing the tool is able to track is memory leaks, again reporting the amount leaked, and attributing the leaks to the lines of source where the data was allocated.

No comments:

Post a Comment