Profiling (computer programming): Difference between revisions

Content deleted Content added
spelling
Line 7:
Events can be hardware (time source, performance counter) or software triggered (function call, OS scheduling).
 
As the summation in a profile often is done related to the source code positions where the events happen, the size of measurement data is linear to the code size of the program. In contrast, the size of a trace is linear to the program's runtime, making it somewhat inpracticalimpractical. For sequential programs, a profile is usually enough, but performance problems in parallel programs (waiting for messages or synchronisation issues) often depend on the time relationship of
events, thus requiring the full trace to get an understanding of the problem.