package ocaml-base-compiler
Official 4.04.2 release
Install
Dune Dependency
Authors
Maintainers
Sources
4.04.2.tar.gz
sha256=6277a477956fc7b76f28af9941dce2984d0df809a0361093eb2e28234bf9c8ed
md5=5ce661a2d8b760dc77c2facf46ccddd1
doc/stdlib/Spacetime/Series/index.html
Module Spacetime.Series
Type representing a file that will hold a series of heap snapshots together with additional information required to interpret those snapshots.
val create : path:string -> t
create ~path
creates a series file at path
.
val save_event : ?time:float -> t -> event_name:string -> unit
save_event
writes an event, which is an arbitrary string, into the given series file. This may be used for identifying particular points during program execution when analysing the profile. The optional time
parameter is as for Snapshot.take
.
val save_and_close : ?time:float -> t -> unit
save_and_close series
writes information into series
required for interpeting the snapshots that series
contains and then closes the series
file. This function must be called to produce a valid series file. The optional time
parameter is as for Snapshot.take
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>