package melange

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type stat = {
  1. minor_words : float;
  2. promoted_words : float;
  3. major_words : float;
  4. minor_collections : int;
  5. major_collections : int;
  6. heap_words : int;
  7. heap_chunks : int;
  8. live_words : int;
  9. live_blocks : int;
  10. free_words : int;
  11. free_blocks : int;
  12. largest_free : int;
  13. fragments : int;
  14. compactions : int;
  15. top_heap_words : int;
  16. stack_size : int;
  17. forced_major_collections : int;
}
type control = {
  1. minor_heap_size : int;
  2. major_heap_increment : int;
  3. space_overhead : int;
  4. verbose : int;
  5. max_overhead : int;
  6. stack_limit : int;
  7. allocation_policy : int;
  8. window_size : int;
  9. custom_major_ratio : int;
  10. custom_minor_ratio : int;
  11. custom_minor_max_size : int;
}
val stat : unit -> stat
val quick_stat : unit -> stat
val counters : unit -> float * float * float
val minor_words : unit -> float
val get : unit -> control
val set : control -> unit
val minor : unit -> unit
val major_slice : int -> int
val major : unit -> unit
val full_major : unit -> unit
val compact : unit -> unit
val get_minor_free : unit -> int
val eventlog_pause : unit -> unit
val eventlog_resume : unit -> unit
val print_stat : out_channel -> unit
val allocated_bytes : unit -> float
val finalise : ('a -> unit) -> 'a -> unit
val finalise_last : (unit -> unit) -> 'a -> unit
val finalise_release : unit -> unit
type alarm = bool Atomic.t
type alarm_rec = {
  1. active : alarm;
  2. f : unit -> unit;
}
val call_alarm : alarm_rec -> unit
val create_alarm : (unit -> unit) -> alarm
val delete_alarm : bool Atomic.t -> unit
module Memprof : sig ... end
OCaml

Innovation. Community. Security.