From a8168f28dc1813fde3560a74386e0e0e7024e527 Mon Sep 17 00:00:00 2001 From: Jacob Leverich Date: Mon, 11 Mar 2013 22:14:24 -0700 Subject: [PATCH] Clean out some dead code. --- Connection.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Connection.cc b/Connection.cc index c73ee9c..9e9b9cb 100644 --- a/Connection.cc +++ b/Connection.cc @@ -234,12 +234,6 @@ void Connection::drive_write_machine(double now) { while (1) { switch (write_state) { case INIT_WRITE: - /* - if (options.iadist == EXPONENTIAL) - delay = generate_poisson(options.lambda); - else - delay = generate_uniform(options.lambda); - */ delay = iagen->generate(); next_time = now + delay; @@ -262,12 +256,6 @@ void Connection::drive_write_machine(double now) { issue_something(now); stats.log_op(op_queue.size()); - /* - if (options.iadist == EXPONENTIAL) - next_time += generate_poisson(options.lambda); - else - next_time += generate_uniform(options.lambda); - */ next_time += iagen->generate(); break;