Skip to content

Commit 20fd759

Browse files
committed
[fix] Fixes per PR review. Reduced changes to the minimal
1 parent b665733 commit 20fd759

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

memtier_benchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,6 @@ run_stats run_benchmark(int run_id, benchmark_config* cfg, object_generator* obj
10471047
threads.push_back(t);
10481048
}
10491049

1050-
10511050
// launch threads
10521051
fprintf(stderr, "[RUN #%u] Launching threads now...\n", run_id);
10531052
for (std::vector<cg_thread*>::iterator i = threads.begin(); i != threads.end(); i++) {
@@ -1126,6 +1125,7 @@ run_stats run_benchmark(int run_id, benchmark_config* cfg, object_generator* obj
11261125

11271126
// join all threads back and unify stats
11281127
run_stats stats(cfg);
1128+
11291129
for (std::vector<cg_thread*>::iterator i = threads.begin(); i != threads.end(); i++) {
11301130
(*i)->join();
11311131
(*i)->m_cg->merge_run_stats(&stats);

obj_gen.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ class object_generator {
140140
const char * get_key_prefix();
141141
const char* get_value(unsigned long long key_index, unsigned int *len);
142142
unsigned int get_expiry();
143-
unsigned long long get_key_range_min(void) { return m_key_min; }
144-
unsigned long long get_key_range_max(void) { return m_key_max; }
145143
};
146144

147145
class imported_keylist;

0 commit comments

Comments
 (0)