Profiling (computer programming): Difference between revisions

Content deleted Content added
Instrumentation: to {{{tl|as of}}
Salotz (talk | contribs)
m made link to Gprof under instrumentation->Compiler assisted
Line 88:
* '''Automatic source level''': instrumentation added to the source code by an automatic tool according to an instrumentation policy. Example: [[Parasoft]] [[Insure++]]
* '''Intermediate language''': instrumentation added to [[Assembly language|assembly]] or decompiled [[bytecode]]s giving support for multiple higher-level source languages and avoiding (non-symbolic) binary offset re-writing issues, for example [[OpenPAT]].
* '''Compiler assisted''': ''gprof''[[Gprof]], ''Quantify'' use this approach. Example: ''gcc -pg ...'' for gprof, and ''quantify g++ ...'', for Quantify
* '''Binary translation''': The tool adds instrumentation to a compiled [[executable]], for example in ATOM.
* '''Runtime instrumentation''': Directly before execution the code is instrumented. The program run is fully supervised and controlled by the tool. Examples: [[Pin (Computer Program)|Pin]], [[Valgrind]], [[DynamoRIO]].