
3.4 Profiling: the Profile structure
manner. To define a manner, use the function make_manner. The function takes a record describing how to perform an execution profile, and returns a manner:
val make_manner :
{time : bool,
space : bool,
calls : bool,
copies : bool,
depth : int,
breakdown : object_kind list} -> manner
By providing values for these fields, you specify a manner in which to profile a function:
timetrue, gather time-profiling data.
spacetrue, gather space-profiling data.
callstrue, gather function-call-counting data.
copiestrue, record the number of garbage-collector copies per generation in any space profile.
depth
breakdownobject_kind, page 40.

Generated with Harlequin WebMaker