Profiling Threaded C and C++ Applications
See Also
If you are running the IDE on Oracle Solaris 10, OpenSolaris, or Linux, you
have several tools available to help find problems in your threaded C/C++ applications.
- The Thread Usage tool can be used to find places in your code where threads are waiting to obtain a mutex lock. When you click
the tool's Sync Problems button, you can see the functions in your application that waited to obtain a lock, and click the functions
to go to the source file. This tool also works on Linux systems that have the Oracle Solaris Studio tool collection installed.
- The Thread Microstates tool can be used to examine the changing states of all your application's threads. When
you click the tool's Thread Details button, you can see the changing state of individual threads throughout the project run time.
This tool requires the DTrace utility, which is only available on Oracle Solaris operating systems.
Legal Notices