MCPcopy
hub / github.com/segmentio/kafka-go / snapshot

Method snapshot

stats.go:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59func (g *gauge) snapshot() int64 {
60 return atomic.LoadInt64(g.ptr())
61}
62
63// minimum is an atomic integral type that keeps track of the minimum of all
64// values that it observed between snapshots.

Callers 3

snapshotMethod · 0.45
StatsMethod · 0.45
StatsMethod · 0.45

Calls 1

ptrMethod · 0.95

Tested by

no test coverage detected