MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Get

Method Get

pkg/event/sequencer_windows.go:97–99  ·  view source on GitHub ↗

Get returns the current sequence number.

()

Source from the content-addressed store, hash-verified

95
96// Get returns the current sequence number.
97func (s *Sequencer) Get() uint64 {
98 return atomic.LoadUint64(&s.seq)
99}
100
101// Reset removes the sequence value from the registry and sets the sequence number to zero.
102func (s *Sequencer) Reset() error {

Callers 2

TestSequencerFunction · 0.95
StoreMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestSequencerFunction · 0.76