package tcpip

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tcp.StatsSource

TCP Statistics

Sourcetype counter

The type for counters.

Sourceval value : counter -> int

The counter value. value t is {!incr} t - {!decrs} t.

Sourcetype t = {
  1. tcp_listens : counter;
  2. tcp_channels : counter;
  3. tcp_connects : counter;
  4. tcp_timers : counter;
  5. mutable total_established : int;
  6. mutable total_passive_connections : int;
  7. mutable total_active_connections : int;
  8. mutable total_timers : int;
}
Sourceval pp : Format.formatter -> t -> unit
Sourceval incr_listen : unit -> unit
Sourceval decr_listen : unit -> unit
Sourceval incr_channel : unit -> unit
Sourceval decr_channel : unit -> unit
Sourceval incr_connect : unit -> unit
Sourceval decr_connect : unit -> unit
Sourceval incr_timer : unit -> unit
Sourceval decr_timer : unit -> unit
Sourceval singleton : t
Sourcemodule Gc : sig ... end

Show GC stats

OCaml

Innovation. Community. Security.