IncPageAlloc increases PageAlloc atomically and returns the new value.
(delta int64)
| 791 | |
| 792 | // IncPageAlloc increases PageAlloc atomically and returns the new value. |
| 793 | func (s *TxStats) IncPageAlloc(delta int64) int64 { |
| 794 | return atomic.AddInt64(&s.PageAlloc, delta) |
| 795 | } |
| 796 | |
| 797 | // GetCursorCount returns CursorCount atomically. |
| 798 | func (s *TxStats) GetCursorCount() int64 { |
no outgoing calls