From 857158d5d9e7f89835cb263ca3da8ff4c9c31224 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 29 Sep 2023 00:23:56 +0300 Subject: [PATCH] minor cleanup --- bench/async_bench.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bench/async_bench.cpp b/bench/async_bench.cpp index e14850f9..5ef153fe 100644 --- a/bench/async_bench.cpp +++ b/bench/async_bench.cpp @@ -16,13 +16,10 @@ #include #include -#include "utils.h" - using namespace std; using namespace std::chrono; using namespace spdlog; using namespace spdlog::sinks; -using namespace utils; void bench_mt(int howmany, std::shared_ptr log, int thread_count); @@ -111,7 +108,7 @@ int main(int argc, char *argv[]) { spdlog::info("*********************************"); spdlog::info("Queue Overflow Policy: overrun"); spdlog::info("*********************************"); - // do same test but discard oldest if queue is full instead of blocking + // do same test but discard the oldest if queue is full instead of blocking filename = "logs/basic_async-overrun.log"; for (int i = 0; i < iters; i++) { auto tp = std::make_shared(queue_size, 1);