1Spacetime.Snapshot(3) OCamldoc Spacetime.Snapshot(3)
2
3
4
6 Spacetime.Snapshot - no description
7
9 Module Spacetime.Snapshot
10
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
27 result 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
31 increasing. This parameter is intended to be used so that snapshots
32 can be correlated against wall clock time (which is not supported in
33 the standard library) rather than elapsed CPU time.
34
35
36
37
38
392018-04-14 source: Spacetime.Snapshot(3)