()
| 205 | } |
| 206 | |
| 207 | func (s *QueryStats) LoadFetchedChunks() uint64 { |
| 208 | if s == nil { |
| 209 | return 0 |
| 210 | } |
| 211 | |
| 212 | return atomic.LoadUint64(&s.FetchedChunksCount) |
| 213 | } |
| 214 | |
| 215 | // AddQueryStorageWallTime adds some time to the counter. |
| 216 | func (s *QueryStats) AddQueryStorageWallTime(t time.Duration) { |
no outgoing calls