async bench

This commit is contained in:
gabime 2014-12-03 01:48:20 +02:00
parent 2c854cc8b7
commit c63e9fae9d

View File

@ -91,7 +91,7 @@ int main(int argc, char* argv[])
cout << "*******************************************************************************\n"; cout << "*******************************************************************************\n";
spdlog::set_async_mode(2500); spdlog::set_async_mode(howmany);
auto daily_st_async = spdlog::daily_logger_st("daily_async", "logs/daily_async", auto_flush); auto daily_st_async = spdlog::daily_logger_st("daily_async", "logs/daily_async", auto_flush);
bench_mt(howmany, daily_st_async, threads); bench_mt(howmany, daily_st_async, threads);