devkit

Development kit - general purpose library
IN THIS PACKAGE
Module Devkit_core . Memory
val log : Log.logger
type t = {
rss : int;(*

resident set size

*)
vsize : int;(*

virtual memory size

*)
nr_maps : int;(*

number of VM mappings

*)
swap_used : int;(*

used swap size

*)
}
val get_num : string -> int
val pagesize : int
val get_vm_info : unit -> t
  • returns

    virtual memory info

val show_vm_info : unit -> string
val show_gc_heap : ?st:Gc.stat -> unit -> string
val show_gc_info : unit -> string
val show_lwt_info : unit -> string
val show_crt_info : ( unit -> string ) ref
val malloc_release : ( unit -> unit ) ref
val reclaim_s : unit -> string
val reclaim : unit -> unit
val reclaim_silent : unit -> unit
val add_stats : ( unit -> unit ) -> unit
val new_stats : ( unit -> string ) -> unit
val log_stats : unit -> unit
val get_stats : unit -> string list
val show_global_reachable : unit -> string
val track_global : string -> 'a -> unit
val show_c_info : unit -> string
val show_all_info : unit -> string list
val log_all_info : unit -> unit