LoadQueryStorageWallTime returns current query storage wall time.
()
| 223 | |
| 224 | // LoadQueryStorageWallTime returns current query storage wall time. |
| 225 | func (s *QueryStats) LoadQueryStorageWallTime() time.Duration { |
| 226 | if s == nil { |
| 227 | return 0 |
| 228 | } |
| 229 | |
| 230 | return time.Duration(atomic.LoadInt64((*int64)(&s.QueryStorageWallTime))) |
| 231 | } |
| 232 | |
| 233 | func (s *QueryStats) AddSplitQueries(count uint64) { |
| 234 | if s == nil { |
no outgoing calls