From 9e4b6f9cc323dfe3201442757ae67238f01ddd61 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 23 Nov 2014 01:12:35 +0200 Subject: [PATCH] astyle --- bench/glog-bench-mt.cpp | 10 +++++----- bench/glog-bench.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bench/glog-bench-mt.cpp b/bench/glog-bench-mt.cpp index d681b535..6ced548b 100644 --- a/bench/glog-bench-mt.cpp +++ b/bench/glog-bench-mt.cpp @@ -15,10 +15,10 @@ int main(int argc, char* argv[]) thread_count = atoi(argv[1]); int howmany = 1000000; - - FLAGS_logtostderr = 0; - FLAGS_log_dir = "logs"; - google::InitGoogleLogging(argv[0]); + + FLAGS_logtostderr = 0; + FLAGS_log_dir = "logs"; + google::InitGoogleLogging(argv[0]); std::atomic msg_counter {0}; vector threads; @@ -31,7 +31,7 @@ int main(int argc, char* argv[]) { int counter = ++msg_counter; if (counter > howmany) break; - LOG(INFO) << "glog message # " << counter; + LOG(INFO) << "glog message # " << counter; } })); } diff --git a/bench/glog-bench.cpp b/bench/glog-bench.cpp index 8158df64..0ec90ddb 100644 --- a/bench/glog-bench.cpp +++ b/bench/glog-bench.cpp @@ -5,13 +5,13 @@ int main(int, char* argv[]) { int howmany = 1000000; - - FLAGS_logtostderr = 0; - FLAGS_log_dir = "logs"; - google::InitGoogleLogging(argv[0]); + + FLAGS_logtostderr = 0; + FLAGS_log_dir = "logs"; + google::InitGoogleLogging(argv[0]); for(int i = 0 ; i < howmany; ++i) - LOG(INFO) << "glog message # " << i; + LOG(INFO) << "glog message # " << i; return 0; }