IncSpillTime increases SpillTime atomically and returns the new value.
(delta time.Duration)
| 871 | |
| 872 | // IncSpillTime increases SpillTime atomically and returns the new value. |
| 873 | func (s *TxStats) IncSpillTime(delta time.Duration) time.Duration { |
| 874 | return atomicAddDuration(&s.SpillTime, delta) |
| 875 | } |
| 876 | |
| 877 | // GetWrite returns Write atomically. |
| 878 | func (s *TxStats) GetWrite() int64 { |