|
@@ -154,7 +154,7 @@ static void route_clients_test(NetIO &netio)
|
|
|
size_t epoch_interval = epoch_duration * 1000000;
|
|
|
printf("Epoch duration = %d\n", epoch_duration);
|
|
|
// Sleep two epoch_interval for clients to connect
|
|
|
- usleep(2 * epoch_interval);
|
|
|
+ usleep(4 * epoch_interval);
|
|
|
|
|
|
// Precompute some WaksmanNetworks
|
|
|
const Config &config = netio.config();
|
|
@@ -183,7 +183,7 @@ static void route_clients_test(NetIO &netio)
|
|
|
unsigned long end = tp.tv_sec * 1000000 + tp.tv_nsec/1000;
|
|
|
unsigned long diff = end - start;
|
|
|
|
|
|
- //printf("client_count = %ld\n", client_count);
|
|
|
+ printf("client_count = %ld\n", client_count);
|
|
|
printf("Epoch %d time: %lu.%06lu s\n", i, diff/1000000, diff%1000000);
|
|
|
|
|
|
// Sleep for the rest of the epoch interval
|