Merge pull request #34103 from yanghonggang/perf-msgr-client

test/msgr/perf_msgr_client.cc: fix misleading total op num

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2020-03-24 12:46:55 +08:00 committed by GitHub
commit 3a638841f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,8 @@ int main(int argc, char **argv)
uint64_t start = Cycles::rdtsc();
client.start();
uint64_t stop = Cycles::rdtsc();
cerr << " Total op " << ios << " run time " << Cycles::to_microseconds(stop - start) << "us." << std::endl;
cerr << " Total op " << (ios * numjobs) << " run time "
<< Cycles::to_microseconds(stop - start) << "us." << std::endl;
return 0;
}