Profiling (computer programming): Difference between revisions

Content deleted Content added
Gathering program events: streamline grammar
Tljplslc (talk | contribs)
Add link to DynamoRIO
Line 89:
* '''Compiler assisted''': ''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]].
* '''Runtime injection''': More lightweight than runtime instrumentation. Code is modified at runtime to have jumps to helper functions. Example: [[DynInst]]