diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-19 10:57:36 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:04 -0400 |
commit | 6f6fa5a63d482b0dc117eb2ac21cf096deb5a6f3 (patch) | |
tree | b76c2a4dfc7f45eb25dd62cb3ffe89ea448d9e0e /src/mongo/client/examples | |
parent | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (diff) | |
download | mongo-6f6fa5a63d482b0dc117eb2ac21cf096deb5a6f3.tar.gz |
SERVER-18978: Clang-Format - Fix comment word wrapping indentation
Diffstat (limited to 'src/mongo/client/examples')
-rw-r--r-- | src/mongo/client/examples/mongoperf.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/client/examples/mongoperf.cpp b/src/mongo/client/examples/mongoperf.cpp index 1681e8a9113..56a06205485 100644 --- a/src/mongo/client/examples/mongoperf.cpp +++ b/src/mongo/client/examples/mongoperf.cpp @@ -69,7 +69,8 @@ unsigned long long len; // file len const unsigned PG = 4096; unsigned nThreadsRunning = 0; -// as this is incremented A LOT, at some point this becomes a bottleneck if very high ops/second (in cache) things are happening. +// as this is incremented A LOT, at some point this becomes a bottleneck if very high ops/second (in +// cache) things are happening. AtomicUInt32 iops; SimpleMutex m; @@ -192,8 +193,9 @@ void go() { return; } lf = new LogFile(fname, true); - const unsigned sz = 1024 * 1024 * - 32; // needs to be big as we are using synchronousAppend. if we used a regular MongoFile it wouldn't have to be + // needs to be big as we are using synchronousAppend. if we used a regular MongoFile it + // wouldn't have to be + const unsigned sz = 1024 * 1024 * 32; char* buf = (char*)mongoMalloc(sz + 4096); const char* p = round(buf); for (unsigned long long i = 0; i < len; i += sz) { |