GetSpillTime returns SpillTime atomically.
()
| 866 | |
| 867 | // GetSpillTime returns SpillTime atomically. |
| 868 | func (s *TxStats) GetSpillTime() time.Duration { |
| 869 | return atomicLoadDuration(&s.SpillTime) |
| 870 | } |
| 871 | |
| 872 | // IncSpillTime increases SpillTime atomically and returns the new value. |
| 873 | func (s *TxStats) IncSpillTime(delta time.Duration) time.Duration { |