package core_profiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Profiler_units = Profiler_units

Core_profiler_disabled is the library in the base projection that exposes the same profiling interface as Core_profiler.

include module type of struct include Disabled end
include Intf.Profiler_intf with type Timer.t = private unit and type Probe.t = private unit and type Delta_timer.t = private unit and type Delta_probe.t = private unit
module Profiler = Disabled.Profiler
module Timer = Disabled.Timer

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.

module Probe = Disabled.Probe

A Probe records some integer value that is passed to at along with a timestamp.

module Delta_probe = Disabled.Delta_probe

Delta_probe is an optimized two-probe group to track changes to some counter.

module Delta_timer = Disabled.Delta_timer

Delta_timer is an optimized two-probe group to track time differences between calls to start and stop.