
3.4.9 Profile structure values
MLWORKS.Profile
MLWorks.Profile
datatype options =
Options of
{scan : int,
selector : function_id -> manner}
MLWorks.Profile.profile as f x.
scanBy "user" milliseconds, we mean the time that is devoted solely to evaluating user code, rather than internal MLWorks operations.
The profiler may not be able to respect very small values for scan, because it relies on the underlying operating system clock. Most UNIX operating systems provide 100 ticks per second (scan ³ 10 realistic) or 60 ticks per second (scan ³ 16 realistic). The clock granularity on Windows can vary from machine to machine, but scan values similar to those for UNIX are usually fine.
selector

Generated with Harlequin WebMaker