astyle+comments

This commit is contained in:
gabime
2015-02-10 01:56:09 +02:00
parent 9f993da472
commit fde3d2db99
5 changed files with 21 additions and 17 deletions

View File

@@ -19,9 +19,9 @@ int main(int argc, char* argv[])
int thread_count = 10;
if(argc > 1)
thread_count = atoi(argv[1]);
int howmany = 1000000;
int howmany = 10000001;
spd::set_async_mode(1048576);
spd::set_async_mode(1048576*16, spd::async_overflow_policy::discard_log_msg);
auto logger = spdlog::create<spd::sinks::simple_file_sink_mt>("file_logger", "logs/spd-bench-async.txt", false);
logger->set_pattern("[%Y-%b-%d %T.%e]: %v");