You can examine the behavior of your running C/C++ project with several profiling tools in the IDE. The profiling tools run automatically by default whenever you run your C or C++ project on a Solaris 10 or OpenSolaris operating system. Some tools are also available when your run on Linux and have installed the Sun Studio tool collection.
The IDE provides the following profiling tools for C/C++ projects:
Tool | Detailed information | Environment |
---|---|---|
CPU Usage | Hot Spots button to show CPU Usage Per Function | OpenSolaris OS, Solaris 10 OS or Linux with Sun Studio tool collection |
Memory Usage | Memory Leaks button opens Memory Leak Details window | OpenSolaris OS, Solaris 10 OS or Linux with Sun Studio tool collection |
Thread Usage | Sync Problems button opens Thread Synchronization Details window | OpenSolaris OS, Solaris 10 OS or Linux with Sun Studio tool collection |
I/O Usage | I/O Details button to show the total bytes read from and written to individual files, and the project functions which perform the I/O to each file | OpenSolaris OS, Solaris 10 OS |
Thread Microstates tool | Thread Details button to show detailed information about each thread's state. | OpenSolaris OS, Solaris 10 OS |
See also | |
---|---|
Managing Profile Configurations Profiling C and C++ Projects C/C++ Project Properties Dialog Box: Profile |