package core_profiler

  1. Overview
  2. Docs
Module type
Class type

A Timer contains only a time stamp and no extra information; however, it is useful because (in Offline) the current time is recorded when measurements are made.

type t = private unit
type probe = t
val create : name:string -> t Intf.timer_create_args

Create a timer or probe that isn't in a group.

record a particular data sample.

module Group : sig ... end

A Group provides a way of grouping multiple probes (or timers). Once grouped, one can measure stats between members of a group -- i.e. the time it takes to get from one probe to the other in the group, or the change in a metric between two probes in a group.