O'Reilly logo

Solaris™ Application Programming by Darryl Gove

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Performance Profiling Tools

Introduction

Several tools are available to determine where the time is being spent in an application. Traditional approachs include gprof, which gives time-based profiles, and tcov, which gives frequencies of execution. Also, the Performance Analyzer ships as part of the developer bundle. On Solaris 10 and later, there is the option of collecting data using dtrace.

The Sun Studio Performance Analyzer

The Sun Studio Performance Analyzer is probably the most useful tool available for detailed performance analysis. It is able to show at a source line level, or at a disassembly level, exactly what is happening to an application. It is a very powerful tool, and consequently it can appear a bit daunting to use. This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required