tps_exclude = total->cnt / (time_include -
(INSTR_TIME_GET_DOUBLE(conn_total_time) / nclients));
+ /* Report test parameters. */
printf("transaction type: %s\n",
num_scripts == 1 ? sql_script[0].desc : "multiple scripts");
printf("scaling factor: %d\n", scale);
else
{
/* no measurement, show average latency computed from run time */
- printf("latency average: %.3f ms\n",
+ printf("latency average = %.3f ms\n",
1000.0 * time_include * nclients / total->cnt);
}
{
if (num_scripts > 1)
printf("SQL script %d: %s\n"
- " - weight = %d (targets %.1f%% of total)\n"
+ " - weight: %d (targets %.1f%% of total)\n"
" - " INT64_FORMAT " transactions (%.1f%% of total, tps = %f)\n",
i + 1, sql_script[i].desc,
sql_script[i].weight,