Don't hardcode the number of gencgc generations.
[sbcl.git] / doc / manual / profiling.texinfo
1 @node Profiling
2 @comment  node-name,  next,  previous,  up
3 @chapter Profiling
4 @cindex Profiling
5
6 SBCL includes both a deterministic profiler, that can collect statistics
7 on individual functions, and a more ``modern'' statistical profiler.
8
9 Inlined functions do not appear in the results reported by either.
10
11 @menu
12 * Deterministic Profiler::           
13 * Statistical Profiler::        
14 @end menu
15
16 @node Deterministic Profiler
17 @comment  node-name,  next,  previous,  up
18 @section Deterministic Profiler
19 @cindex Profiling, deterministic
20
21 The package @code{sb-profile} provides a classic, per-function-call
22 profiler.
23
24 @strong{NOTE}: When profiling code executed by multiple threads in
25 parallel, the consing attributed to each function is inaccurate.
26
27 @include macro-sb-profile-profile.texinfo
28 @include macro-sb-profile-unprofile.texinfo
29 @include fun-sb-profile-report.texinfo
30 @include fun-sb-profile-reset.texinfo
31
32 @node Statistical Profiler
33 @comment  node-name,  next,  previous,  up
34 @section Statistical Profiler
35 @include sb-sprof/sb-sprof.texinfo