| 543 | } |
| 544 | |
| 545 | void DbConnection::IncreaseQueryCount() |
| 546 | { |
| 547 | double now = Utility::GetTime(); |
| 548 | |
| 549 | std::unique_lock<std::mutex> lock(m_StatsMutex); |
| 550 | m_QueryStats.InsertValue(now, 1); |
| 551 | } |
| 552 | |
| 553 | int DbConnection::GetQueryCount(RingBuffer::SizeType span) |
| 554 | { |
nothing calls this directly
no test coverage detected