package memtrace_viewer

  1. Overview
  2. Docs
Interactive memory profiler based on Memtrace

Install

Dune Dependency

Authors

Maintainers

Sources

memtrace_viewer-v0.16.0.tar.gz
sha256=bb50fc48fef748dffe7ff1e151021b1361500c432a8c2991065fd31fd474f817

doc/src/memtrace_viewer.native/obj_id.ml.html

Source file obj_id.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
open! Core
open Memtrace

module T = struct
  type t = Trace.Obj_id.t

  let hash t = Int.hash (t : t :> int)
  let hash_fold_t s t = Int.hash_fold_t s (t : t :> int)
  let compare t1 t2 = Int.compare (t1 : t :> int) (t2 : t :> int)
  let sexp_of_t t = Int.sexp_of_t (t : t :> int)
end

include T
include Hashable.Make_plain (T)
OCaml

Innovation. Community. Security.