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

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


Vocabulary
tools.profiler.sampling

Inputs
depthan integer
profile-dataraw profile data


Outputs
treea profile report


Word description
Generates a cross-section profile at depth from the profile results in profile-data. 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*, most-recent-profile-data

Definition