Esc

resident_mappings

procedureextensionexperimentalsince 0.36.1Source
  • macOS: resident_mappings works on macOS
  • Linux: resident_mappings works on Linux
  • Windows: resident_mappings works on Windows
  • Wasm: resident_mappings works on Wasm

The resident KiB of the mappings of exactly size_kib KiB in /proc/<pid>/smaps: with Io's default STACK_BYTES (256 KiB, 16 KiB of it guard) these are the fibers' stacks.

Signature

resident_mappings :: (pid: s32, size_kib: int) -> int

See also