MCPcopy Create free account
hub / github.com/PasarGuard/node / NewInterfaceCountersTracker

Function NewInterfaceCountersTracker

pkg/stats/interface_counters.go:18–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18func NewInterfaceCountersTracker() *InterfaceCountersTracker {
19 return &InterfaceCountersTracker{}
20}
21
22// Delta calculates counters relative to the current baseline.
23// On first sample, it sets baseline and returns zero.

Calls

no outgoing calls