Function
Produces an execution profile of the evaluation of a single function.
MLWORKS.Profile
MLWorks.Profile
val profile : options -> ('a -> 'b) -> 'a -> ('b result * profile) profile options f x -> (result, profile)
options.
'a result.
profile.
Produces an execution profile of a single function f applied to the value x. Profile data is returned in a value of type profile.The result is a value of type 'a result.
The profile type contains profiler performance data and an execution profile for f. See the entry for profile, page 31, for more details.