LeanProfiler

3.5. Process counters🔗

The session samples Std.IO.Process.getResourceUsage at its boundaries. The summary reports changes in:

  • user and system CPU time in integer milliseconds;

  • minor and major page faults;

  • block input and output operations;

  • voluntary and involuntary context switches.

It also reports ending peak resident set size and any increase during the capture. Peak RSS is a high-water mark, not current live memory. These counters cover the whole process, including unprofiled threads and foreign code, so they do not belong to an individual row.