| 551 | } |
| 552 | |
| 553 | int DbConnection::GetQueryCount(RingBuffer::SizeType span) |
| 554 | { |
| 555 | std::unique_lock<std::mutex> lock(m_StatsMutex); |
| 556 | return m_QueryStats.UpdateAndGetValues(Utility::GetTime(), span); |
| 557 | } |
| 558 | |
| 559 | bool DbConnection::IsIDCacheValid() const |
| 560 | { |
no test coverage detected