MCPcopy
hub / github.com/etcd-io/bbolt / GetSplit

Method GetSplit

tx.go:848–850  ·  view source on GitHub ↗

GetSplit returns Split atomically.

()

Source from the content-addressed store, hash-verified

846
847// GetSplit returns Split atomically.
848func (s *TxStats) GetSplit() int64 {
849 return atomic.LoadInt64(&s.Split)
850}
851
852// IncSplit increases Split atomically and returns the new value.
853func (s *TxStats) IncSplit(delta int64) int64 {

Callers 5

SubMethod · 0.95
TestTxStats_addFunction · 0.95
addMethod · 0.80
TestTxStats_SubFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestTxStats_addFunction · 0.76
TestTxStats_SubFunction · 0.64