mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
ObjectStoreTransactionBenchmark.cc: reduce scope of var
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
828fc737f1
commit
ff760bee26
@ -192,9 +192,10 @@ class PerfCase {
|
||||
}
|
||||
|
||||
uint64_t rados_write_4k(int times) {
|
||||
uint64_t start_time = 0, ticks = 0;
|
||||
uint64_t ticks = 0;
|
||||
uint64_t len = Kib *4;
|
||||
for (int i = 0; i < times; i++) {
|
||||
uint64_t start_time = 0;
|
||||
{
|
||||
Transaction t;
|
||||
ghobject_t oid = create_object();
|
||||
|
Loading…
Reference in New Issue
Block a user