Execution time

During execution, the runtime environment collects samples of the program counter (PC) at various times. The exact sampling mechanism is target-specific. See "Profiling targets". The resulting collection of PC data points gives a profile of where the program spends its time. The profiler shows you how much time is spent in:

You may see large improvements in execution time by focusing and improving small amounts of code corresponding to a large percentage of total execution time. The compiler does not need to change your code to gather an execution sampling.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.