summaryrefslogtreecommitdiff
path: root/src/common/obj_bencher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/obj_bencher.h')
-rw-r--r--src/common/obj_bencher.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/obj_bencher.h b/src/common/obj_bencher.h
index 60159646ad7..d626eda376d 100644
--- a/src/common/obj_bencher.h
+++ b/src/common/obj_bencher.h
@@ -60,7 +60,7 @@ protected:
int fetch_bench_metadata(const std::string& metadata_file, int* object_size, int* num_objects, int* prevPid);
- int write_bench(int secondsToRun, int concurrentios);
+ int write_bench(int secondsToRun, int maxObjects, int concurrentios);
int seq_read_bench(int secondsToRun, int concurrentios, int num_objects, int writePid);
int clean_up(int num_objects, int prevPid, int concurrentios);
@@ -91,7 +91,9 @@ protected:
public:
ObjBencher() : show_time(false), lock("ObjBencher::lock") {}
virtual ~ObjBencher() {}
- int aio_bench(int operation, int secondsToRun, int concurrentios, int op_size, bool cleanup);
+ int aio_bench(
+ int operation, int secondsToRun, int maxObjectsToCreate,
+ int concurrentios, int op_size, bool cleanup);
int clean_up(const std::string& prefix, int concurrentios);
void set_show_time(bool dt) {