Types of profiling
The QNX Application Profiler lets you perform:
- Statistical sample profiling (sampling)
- Function Instrumentation profiling
- Postmortem profiling for Call Count and Function Instrumentation profiling
Sampling doesn't require instrumentation, and has low overhead, but your application needs to run for a long time for you to get sound data.
Function Instrumentation requires a compiler flag and linker flag, and even more overhead.