Index: gprof/gprof.texi =================================================================== RCS file: /cvs/src/src/gprof/gprof.texi,v retrieving revision 1.30 diff -c -3 -p -r1.30 gprof.texi *** gprof/gprof.texi 12 Jun 2009 15:33:30 -0000 1.30 --- gprof/gprof.texi 26 May 2010 14:56:26 -0000 *************** only a small amount of time, so that on *** 1613,1622 **** ought to catch that function in the act only once, there is a pretty good chance it will actually find that function zero times, or twice. ! By contrast, the number-of-calls and basic-block figures ! are derived by counting, not ! sampling. They are completely accurate and will not vary from run to run ! if your program is deterministic. The @dfn{sampling period} that is printed at the beginning of the flat profile says how often samples are taken. The rule of thumb is that a --- 1613,1624 ---- ought to catch that function in the act only once, there is a pretty good chance it will actually find that function zero times, or twice. ! By contrast, the number-of-calls and basic-block figures are derived ! by counting, not sampling. They are completely accurate and will not ! vary from run to run if your program is deterministic and single ! threaded. In multi-threaded applications the counts are only ! deterministic if the counting function is thread-safe. ! @xref{Implementation, ,Implementation of Profiling}. The @dfn{sampling period} that is printed at the beginning of the flat profile says how often samples are taken. The rule of thumb is that a