package core_profiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Item : sig ... end

A Header.Item.t is anything that is uniquely identified by a Probe_id.t.

val find_exn : t -> Core_profiler.Probe_id.t -> Item.t
val find_single_exn : t -> Core_profiler.Probe_id.t -> Item.single
val find_group_exn : t -> Core_profiler.Probe_id.t -> Item.group
val find_group_point_exn : t -> Core_profiler.Probe_id.t -> Item.group_point

Get a group point's parent

val get_parent_exn : t -> Core_profiler.Probe_id.t -> Item.group
val get_name_exn : t -> ?with_group:string -> Core_profiler.Probe_id.t -> string

If add_group is specified and the id refers to a group point, group_name ^ add_group ^ group_point_name is returned

val create_table : t -> ?singles:bool -> ?groups:bool -> ?group_points:bool -> ?timers:bool -> ?probes:bool -> 'a -> ('a, _) Id_table.t

Conditions are ANDed, and default to true