version 1.25, 2018/08/11 16:07:36 |
version 1.26, 2018/08/14 15:25:04 |
|
|
/* goto end; */ |
/* goto end; */ |
} |
} |
|
|
if (!(s_time_config.perform & 1)) |
|
goto next; |
|
printf("Collecting connection statistics for %lld seconds\n", |
|
(long long)s_time_config.maxtime); |
|
|
|
/* Loop and time how long it takes to make connections */ |
/* Loop and time how long it takes to make connections */ |
|
if (s_time_config.perform & 1) { |
if (benchmark(0)) |
printf("Collecting connection statistics for %lld seconds\n", |
goto end; |
(long long)s_time_config.maxtime); |
|
if (benchmark(0)) |
|
goto end; |
|
} |
/* |
/* |
* Now loop and time connections using the same session id over and |
* Now loop and time connections using the same session id over and |
* over |
* over |
*/ |
*/ |
|
if (s_time_config.perform & 2) { |
next: |
printf("\n\nNow timing with session id reuse.\n"); |
if (!(s_time_config.perform & 2)) |
if (benchmark(1)) |
goto end; |
goto end; |
printf("\n\nNow timing with session id reuse.\n"); |
} |
|
|
if (benchmark(1)) |
|
goto end; |
|
|
|
ret = 0; |
ret = 0; |
end: |
end: |
if (tm_ctx != NULL) { |
if (tm_ctx != NULL) { |