cross-section ( depth -- tree )
Factor handbook » Developer tools » Sampling profiler

Prev:top-down-max-depth ( max-depth -- tree )
Next:flat ( -- flat )


Vocabulary
tools.profiler.sampling

Inputs
depthan integer


Outputs
treea profile report


Word description
Generates a cross-section profile at depth from the results of the most recent profile. Each sample's time will be charged to the function depth levels deep in the callstack, or to the deepest function in the callstack if the callstack at the time of the sample is fewer than depth levels deep. The output tree can be printed with the profile. word.

See also
flat, top-down, top-down-max-depth, profile, profile.

Definition