add overrun reset function

This commit is contained in:
bergen
2022-06-09 19:45:40 +08:00
parent 822f972842
commit 1f608a81e8
3 changed files with 12 additions and 0 deletions

View File

@@ -75,6 +75,11 @@ size_t SPDLOG_INLINE thread_pool::overrun_counter()
return q_.overrun_counter();
}
void SPDLOG_INLINE thread_pool::reset_overrun_counter()
{
q_.reset_overrun_counter();
}
size_t SPDLOG_INLINE thread_pool::queue_size()
{
return q_.size();