]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Add space between timestamp and "min lat:" in bench output
authorBrad Hubbard <bhubbard@redhat.com>
Fri, 6 May 2016 05:05:42 +0000 (15:05 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 17 May 2016 07:04:10 +0000 (17:04 +1000)
This change is taken from 069d95eaf49cadaa9a8fa1fa186455944a50ec7d
but I did not want to cherry-pick that patch since the rest of it
is purely cosmetic and would be unlikely to apply cleanly.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/common/obj_bencher.cc

index 32fb9a2f19758dfea60073fa874fc01fc9ae088a..ec2fd9a51421b5acc5b52504bbe8577447df86b3 100644 (file)
@@ -86,7 +86,7 @@ void *ObjBencher::status_printer(void *_bencher) {
 
     if (i % 20 == 0) {
       if (i > 0)
-       cur_time.localtime(cout) << "min lat: " << data.min_latency
+       cur_time.localtime(cout) << " min lat: " << data.min_latency
             << " max lat: " << data.max_latency
             << " avg lat: " << data.avg_latency << std::endl;
       //I'm naughty and don't reset the fill