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

Method GetSpill

tx.go:858–860  ·  view source on GitHub ↗

GetSpill returns Spill atomically.

()

Source from the content-addressed store, hash-verified

856
857// GetSpill returns Spill atomically.
858func (s *TxStats) GetSpill() int64 {
859 return atomic.LoadInt64(&s.Spill)
860}
861
862// IncSpill increases Spill atomically and returns the new value.
863func (s *TxStats) IncSpill(delta int64) int64 {

Callers 6

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

Calls

no outgoing calls

Tested by 3

TestTxStats_addFunction · 0.76
TestTxStats_SubFunction · 0.64