Permalink
Browse files

log trx_time as cycle time when trx_time large than cycle time.

  • Loading branch information...
1 parent bb528b4 commit a756262ecd9feece343d586b024f9b20f6a16fdc @andl committed Sep 6, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/com/benchmarkSQL/jTPCCTerminal.java
@@ -218,6 +218,8 @@ private void executeTransactions(int numTransactions) throws InterruptedExceptio
if (sleeptime > 0) {
terminalMessage("\ncycle time "+real_cycletime+" "+sleeptime+" "+fake_time+" ms\n");
Thread.sleep(sleeptime);
+ } else {
+ terminalMessage("\ncycle time "+trx_time+" "+ "0" +" "+fake_time+" ms\n");
}
}

0 comments on commit a756262

Please sign in to comment.