Baking_profiler.Nonce_profilertype nonrec metadata = Tezos_profiler.Profiler.metadatatype nonrec id = Tezos_profiler.Profiler.idtype nonrec ids = Tezos_profiler.Profiler.idsval plug : Tezos_profiler.Profiler.instance -> unitplug instance plugs the profiler stored in the module to instance
val unplug : Tezos_profiler.Profiler.instance -> unitunplug instance unplugs the profiler stored in the module from instance
val close_and_unplug : Tezos_profiler.Profiler.instance -> unitclose_and_unplug instance closes the profiler stored in the module and unplugs it from instance
close_and_unplug_all () closes the profiler stored in the module and unplugs it from all instances it was plugged to
val plugged : unit -> Tezos_profiler.Profiler.instance listplugged () returns all the instances plugged to the profiler stored in the module
Open a sequence in the current sequence. If currently aggregating (not all aggregation scopes are closed), this has the same semantics as aggregate instead.
Open an aggregation node in the current sequence.
Record a timestamp in the most recently opened sequence.
val span :
cpu:bool option ->
verbosity ->
Tezos_profiler.Profiler.span ->
ids ->
unitSum the time spent in this event in the most recent sequence.
val inc : Tezos_profiler.Profiler.report -> unitInclude a report in the current sequence.
record_f verbosity label f will call:
record verbosity name;
f ();
stop ();Same as record_f but for Lwt function
aggregate_f verbosity label f will call:
aggregate verbosity name;
f ();
stop ();Same as aggregate_f but for Lwt functions
span_f verbosity label_list f will compute span but specifically around f