Documentation
¶
Overview ¶
Package presentation implements interactive and non-interactive reporting of cache activity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatProvider ¶
type StatProvider func() Stats
StatProvider returns a snapshot of current runtime statistics.
type Stats ¶
type Stats struct {
// count of packets that entered the kernel BPF
PacketsEnteredFilter int
// count of packets that passed the BPF and queued or dropped by the kernel
PacketsPassedFilter int
// count of packets received from pcap
PacketsCaptured int
// count of packets dropped due to kernel buffer overflow
PacketsDroppedKernel int
// count of packets dropped due to analysis queue being full
PacketsDroppedAnalysis int
PacketsDroppedTotal int
ResponsesParsed int
}
Stats collects statistics on runtime performance to be displayed to the user.
Click to show internal directories.
Click to hide internal directories.