Profiling (computer programming): Difference between revisions

Content deleted Content added
m Statistical profilers: disambiguation link repair (You can help!)
Line 15:
 
===Statistical profilers===
Some profilers operate by [[Sampling (statistics)|sampling]]. A sampling profiler probes the target program's [[Programprogram counter]] at regular intervals using operating system [[interrupt]]s. Sampling profiles are typically less accurate and specific, but allow the target program to run at near full speed.
 
Some profilers instrument the target program with additional instructions to collect the required information. Instrumenting the program can cause changes in the performance of the program, causing inaccurate results and [[heisenbug]]s. Instrumenting can potentially be very specific but slows down the target program as more specific information is collected.