core_profiler

Profiling library
IN THIS PACKAGE
type -'rw t
val create : Reader.Header.t -> [< _ Core.perms ] t
val read_only : [> Core.read ] t -> Core.read t

Which interests does this event match?

val test' : [> Core.read ] t -> Event_generator.event -> bool

Does this event match anything?

val iter_events : [> Core.read ] t -> Event_generator.t -> f: ( Event_generator.event -> Core_profiler.Probe_id.t Interest.t list -> unit ) -> unit

f is given the event, and the interests it matched

val iter_events_interests : [> Core.read ] t -> Event_generator.t -> f:( Event_generator.event -> Core_profiler.Probe_id.t Interest.t -> unit ) -> unit
val raw_interests : [> Core.read ] t -> Core_profiler.Probe_id.t Interest.Raw.t list

All raw interests the filter is (currently) interested in receiving events for. In the basic case, you'll want to construct a t (a filter), and then build a Event_generator.t using the raw interests specified by this function.