Module Make.Max

Create an implementation for a Statistics module that computes a Maximum.

Parameters

module X : Arg

Signature

type t = int

The type of values being processed.

val process : int -> t -> unit

A node_id has produced/seen a value.

val get : unit -> string

Returns a JSON string containing the statistics and respective values.

val clear : unit -> unit

Reset statistics data.