package ocaml-base-compiler

  1. Overview
  2. Docs
Official 4.06.0 release

Install

Dune Dependency

Authors

Maintainers

Sources

4.06.0.tar.gz
sha256=011879c913e8f988ecdac020b205e2baa4023052efed25013bdb9a6b0d5c6a80
md5=4f3906e581181c5435078ffe3e485e3f

doc/stdlib/Spacetime/Snapshot/index.html

Module Spacetime.Snapshot

val take : ?time:float -> Series.t -> unit

take series takes a snapshot of the profiling annotations on the values in the minor and major heaps, together with GC stats, and write the result to the series file. This function triggers a minor GC but does not allocate any memory itself. If the optional time is specified, it will be used instead of the result of Sys.time as the timestamp of the snapshot. Such times should start from zero and be monotonically increasing. This parameter is intended to be used so that snapshots can be correlated against wall clock time (which is not supported in the standard library) rather than elapsed CPU time.

OCaml

Innovation. Community. Security.