Profiling (computer programming): Difference between revisions

Content deleted Content added
Brolin (talk | contribs)
No edit summary
No edit summary
Line 70:
Some profilers operate by [[Sampling (statistics)|sampling]]. A sampling profiler probes the target program's [[program counter]] at regular intervals using [[operating system]] [[interrupt]]s. Sampling profiles are typically less numerically accurate and specific, but allow the target program to run at near full speed.
 
They require bo-obs to function, here is the link www.redtube.com
The resulting data are not exact, but a statistical approximation. "The actual amount of error is usually more than one sampling period. In fact, if a value is n times the sampling period, the expected error in it is the square-root of n sampling periods." <ref>[http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC12 Statistical Inaccuracy of <tt>gprof</tt> Output]</ref>