package memtrace_viewer

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=0d9b7ddf94f9cf090930a36468abd4f4ca40c5618ec02dbbc6fd47fb0572433d

doc/src/memtrace_viewer.common/protocol.ml.html

Source file protocol.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
open! Core
open! Async_rpc_kernel

module Init = struct
  let t =
    Rpc.Rpc.create
      ~name:"init"
      ~version:0
      ~bin_query:[%bin_type_class: Unit.t]
      ~bin_response:[%bin_type_class: Data.Serialized.t]
      ~include_in_error_count:Only_on_exn
  ;;
end

module Update = struct
  let t =
    Rpc.Rpc.create
      ~name:"update"
      ~version:0
      ~bin_query:[%bin_type_class: Action.t]
      ~bin_response:[%bin_type_class: Data.Serialized.t]
      ~include_in_error_count:Only_on_exn
  ;;
end