1Spacetime.Snapshot(3)            OCaml library           Spacetime.Snapshot(3)
2
3
4

NAME

6       Spacetime.Snapshot - no description
7

Module

9       Module   Spacetime.Snapshot
10

Documentation

12       Module Snapshot
13        : sig end
14
15
16
17
18
19
20
21
22       val take : ?time:float -> Spacetime.Series.t -> unit
23
24
25       take series takes a snapshot of the profiling annotations on the values
26       in the minor and major heaps, together with GC stats, and write the re‐
27       sult  to  the  series file.  This function triggers a minor GC but does
28       not allocate any memory itself.  If the optional time is specified,  it
29       will  be used instead of the result of Sys.time as the timestamp of the
30       snapshot.  Such time s should start from zero and be monotonically  in‐
31       creasing.   This parameter is intended to be used so that snapshots can
32       be correlated against wall clock time (which is not  supported  in  the
33       standard library) rather than elapsed CPU time.
34
35
36
37
38
39OCamldoc                          2021-01-26             Spacetime.Snapshot(3)
Impressum