Module Zero_copy.ZeroCopyMetrics

Performance monitoring for zero-copy channels

type channel_metrics
val create_metrics : unit -> channel_metrics
val record_send : channel_metrics -> int -> int64 -> unit
val record_receive : channel_metrics -> int -> int64 -> unit
val record_checksum_failure : channel_metrics -> unit
val record_buffer_overflow : channel_metrics -> unit
val get_stats : channel_metrics -> channel_stats