jon.recoil.org

Module Memprof.SafeSource

Submodule containing non-backwards-compatible functions which enforce thread safety via modes.

Sourceval start : sampling_rate:float -> ?callstack_size:int -> ('minor, 'major) Stdlib.Gc.Memprof.tracker @ portable -> Stdlib.Gc.Memprof.t

Like start, but can be called from any domain.

The provided tracker must be portable as the contained callbacks are registered with the current domain, but may close over data contained in the current capsule which may later move to a different domain.