@@ -2348,15 +2348,15 @@ doLog(TState *thread, CState *st, instr_time *now,
2348
2348
while (agg -> start_time + agg_interval < INSTR_TIME_GET_DOUBLE (* now ))
2349
2349
{
2350
2350
/* print aggregated report to logfile */
2351
- fprintf (logfile , "%ld " INT64_FORMAT " " INT64_FORMAT " " INT64_FORMAT " %.0f %.0f %.0f %.0f" ,
2351
+ fprintf (logfile , "%ld " INT64_FORMAT " %.0f %.0f %.0f %.0f " INT64_FORMAT " " INT64_FORMAT ,
2352
2352
agg -> start_time ,
2353
2353
agg -> cnt ,
2354
- agg -> serialization_failures ,
2355
- agg -> deadlock_failures ,
2356
2354
agg -> latency .sum ,
2357
2355
agg -> latency .sum2 ,
2358
2356
agg -> latency .min ,
2359
- agg -> latency .max );
2357
+ agg -> latency .max ,
2358
+ agg -> serialization_failures ,
2359
+ agg -> deadlock_failures );
2360
2360
if (throttle_delay )
2361
2361
{
2362
2362
fprintf (logfile , " %.0f %.0f %.0f %.0f" ,
@@ -2386,9 +2386,9 @@ doLog(TState *thread, CState *st, instr_time *now,
2386
2386
snprintf (transaction_label , sizeof (transaction_label ), "skipped" );
2387
2387
else if (st -> serialization_failure && st -> deadlock_failure )
2388
2388
snprintf (transaction_label , sizeof (transaction_label ),
2389
- "serialization and deadlock failures " );
2389
+ "serialization_and_deadlock_failures " );
2390
2390
else if (st -> serialization_failure || st -> deadlock_failure )
2391
- snprintf (transaction_label , sizeof (transaction_label ), "%s failure " ,
2391
+ snprintf (transaction_label , sizeof (transaction_label ), "%s_failure " ,
2392
2392
st -> serialization_failure ? "serialization" : "deadlock" );
2393
2393
2394
2394
#ifndef WIN32
@@ -4685,14 +4685,14 @@ threadRun(void *arg)
4685
4685
sprintf (tbuf , "%.1f s" , total_run );
4686
4686
4687
4687
fprintf (stderr ,
4688
- "progress: %s, %.1f tps, " INT64_FORMAT " serialization failures transactions, " INT64_FORMAT " deadlock failures transactions, lat %.3f ms stddev %.3f " ,
4688
+ "progress: %s, %.1f tps, lat %.3f ms stddev %.3f, failed trx: " INT64_FORMAT " (serialization), " INT64_FORMAT " (deadlocks) " ,
4689
4689
tbuf ,
4690
4690
tps ,
4691
+ latency ,
4692
+ stdev ,
4691
4693
(cur .serialization_failures -
4692
4694
last .serialization_failures ),
4693
- (cur .deadlock_failures - last .deadlock_failures ),
4694
- latency ,
4695
- stdev );
4695
+ (cur .deadlock_failures - last .deadlock_failures ));
4696
4696
4697
4697
if (throttle_delay )
4698
4698
{
0 commit comments