mperf

Bindings to Linux perf's metrics
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library mperf
Module Mperf . Attr
type flag =
| Disabled(*

off by default

*)
| Inherit(*

children inherit it

*)
| Exclude_user(*

don't count user

*)
| Exclude_kernel(*

don't count kernel

*)
| Exclude_hv(*

don't count hypervisor

*)
| Exclude_idle(*

don't count when idle

*)
| Enable_on_exec(*

next exec enables

*)
module Kind : sig ... end
type t

Opaque type of a perf event attribute.

val make : ?flags:flag list -> Kind.t -> t

make ?flags kind is a perf event attribute of type kind, with flags flags.

val compare : t -> t -> int

comparison function on t.