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

Method Increment

pkg/event/sequencer_windows.go:92–94  ·  view source on GitHub ↗

Increment increments the sequence number atomically.

()

Source from the content-addressed store, hash-verified

90
91// Increment increments the sequence number atomically.
92func (s *Sequencer) Increment() {
93 atomic.AddUint64(&s.seq, 1)
94}
95
96// Get returns the current sequence number.
97func (s *Sequencer) Get() uint64 {

Callers 3

TestSequencerFunction · 0.95
TestSequencerMonotonicFunction · 0.95
ProcessEventMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestSequencerFunction · 0.76
TestSequencerMonotonicFunction · 0.76