type t = {minor_words : Base.Float.t;Number of words allocated in the minor heap since the program was started. This number is accurate in byte-code programs, but only an approximation in programs compiled to native code.
promoted_words : Base.Float.t;Number of words allocated in the minor heap that survived a minor collection and were moved to the major heap since the program was started.
major_words : Base.Float.t;Number of words allocated in the major heap, including the promoted words, since the program was started.
minor_collections : Base.Int.t;Number of minor collections since the program was started.
major_collections : Base.Int.t;Number of major collection cycles completed since the program was started.
heap_words : Base.Int.t;Total size of the major heap, in words.
heap_chunks : Base.Int.t;Number of contiguous pieces of memory that make up the major heap.
live_words : Base.Int.t;Number of words of live data in the major heap, including the header words.
live_blocks : Base.Int.t;Number of live blocks in the major heap.
free_words : Base.Int.t;Number of words in the free list.
free_blocks : Base.Int.t;Number of blocks in the free list.
largest_free : Base.Int.t;Size (in words) of the largest block in the free list.
fragments : Base.Int.t;Number of wasted words due to fragmentation. These are 1-words free blocks placed between two live blocks. They are not available for allocation.
compactions : Base.Int.t;Number of heap compactions since the program was started.
top_heap_words : Base.Int.t;Maximum size reached by the major heap, in words.
stack_size : Base.Int.t;Current size of the stack, in words.
}
include Bin_prot.Binable.S with type t := t
include Bin_prot.Binable.S_only_functions with type t := t
val bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : (int -> t) Bin_prot.Read.readerThis function only needs implementation if
texposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the varianttafterwards.
val bin_shape_t : Bin_prot.Shape.tval bin_writer_t : t Bin_prot.Type_class.writerval bin_reader_t : t Bin_prot.Type_class.readerval bin_t : t Bin_prot.Type_class.t
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> tval sexp_of_t : t -> Sexplib0.Sexp.t
val stack_size : t -> Base.Int.tval top_heap_words : t -> Base.Int.tval compactions : t -> Base.Int.tval fragments : t -> Base.Int.tval largest_free : t -> Base.Int.tval free_blocks : t -> Base.Int.tval free_words : t -> Base.Int.tval live_blocks : t -> Base.Int.tval live_words : t -> Base.Int.tval heap_chunks : t -> Base.Int.tval heap_words : t -> Base.Int.tval major_collections : t -> Base.Int.tval minor_collections : t -> Base.Int.tval major_words : t -> Base.Float.tval promoted_words : t -> Base.Float.tval minor_words : t -> Base.Float.t
module Fields : sig ... endinclude Comparable.S with type t := t
include Base.Comparable.S with type t := t
val ascending : t -> t -> intascendingis identical tocompare.descending x y = ascending y x. These are intended to be mnemonic when used likeList.sort ~compare:ascendingandList.sort ~cmp:descending, since they cause the list to be sorted in ascending or descending order, respectively.
val descending : t -> t -> intval between : t -> low:t -> high:t -> boolbetween t ~low ~highmeanslow <= t <= high
val clamp_exn : t -> min:t -> max:t -> tclamp_exn t ~min ~maxreturnst', the closest value totsuch thatbetween t' ~low:min ~high:maxis true.Raises if
not (min <= max).
val clamp : t -> min:t -> max:t -> t Base.Or_error.t
include Base.Comparator.S with type t := t
val comparator : (t, comparator_witness) Base.Comparator.comparator
val validate_lbound : min:t Base.Maybe_bound.t -> t Base.Validate.checkval validate_ubound : max:t Base.Maybe_bound.t -> t Base.Validate.checkval validate_bound : min:t Base.Maybe_bound.t -> max:t Base.Maybe_bound.t -> t Base.Validate.check
module Replace_polymorphic_compare : sig ... endmodule Map : Map.S with type Key.t = t with type Key.comparator_witness = comparator_witnessmodule Set : Set.S with type Elt.t = t with type Elt.comparator_witness = comparator_witness