
3.4.9 Profile structure values
MLWORKS.Profile
MLWorks.Profile
datatype function_space_profile =
Function_Space_Profile of
{allocated : large_size,
copied : large_size,
copies : large_size list,
allocation : (object_kind * object_count) list list}
allocated
copied
copiescopied by generation number: copies is a list [s1, s2, s3, ...] where s1 is the amount of data copied out of generation zero, and so on.
allocationallocation is a list [b0, b1, b2, ...] where each b is a breakdown, that is, a list [(k1, c1), (k2, c2), ...]. The k's are the object_kind values in the breakdown list given to make_manner. Each c is the object count corresponding to that runtime object kind, a value of type object_count. The count gives the number of objects, the size of the data in the objects, and the space overhead (padding, headers, and so on) of the objects.Each b corresponds to a generation: b0 is a breakdown of the objects allocated by that function, b1 is a breakdown of the runtime objects allocated by that function which the garbage collector copies out of generation zero, b2 the breakdown for copies out of generation one, and so on.
copied will be greater than allocated. Conversely, if the function allocates only transient data, it will not be copied, and so allocated will be greater than copied.

Generated with Harlequin WebMaker