top-down-max-depth* ( max-depth profile-data -- tree )
Factor documentation > Factor handbook > Developer tools > Sampling profiler
Prev:top-down* ( profile-data -- tree )
Next:cross-section* ( depth profile-data -- tree )


Vocabulary
tools.profiler.sampling

Inputs and outputs
max-depthan integer
profile-dataraw profile data
treea profile report


Word description
Generates a top-down tree profile from the profile results in profile-data. Functions at a callstack depth greater than max-depth will be filtered out. The output tree can be printed with the profile. word.

See also
cross-section*, flat*, top-down*, most-recent-profile-data

Definition
USING: tools.profiler.sampling.private ;

IN: tools.profiler.sampling

: top-down-max-depth* ( max-depth profile-data -- tree )
0 (top-down) ;