IncWrite increases Write atomically and returns the new value.
(delta int64)
| 881 | |
| 882 | // IncWrite increases Write atomically and returns the new value. |
| 883 | func (s *TxStats) IncWrite(delta int64) int64 { |
| 884 | return atomic.AddInt64(&s.Write, delta) |
| 885 | } |
| 886 | |
| 887 | // GetWriteTime returns WriteTime atomically. |
| 888 | func (s *TxStats) GetWriteTime() time.Duration { |
no outgoing calls