Author: mircea.markus
Date: 2008-01-06 07:54:43 -0500 (Sun, 06 Jan 2008)
New Revision: 5007
Modified:
cache-bench-fwk/trunk/src/org/cachebench/tests/SimpleTest.java
Log:
added some more logging
Modified: cache-bench-fwk/trunk/src/org/cachebench/tests/SimpleTest.java
===================================================================
--- cache-bench-fwk/trunk/src/org/cachebench/tests/SimpleTest.java 2008-01-06 11:13:52 UTC
(rev 5006)
+++ cache-bench-fwk/trunk/src/org/cachebench/tests/SimpleTest.java 2008-01-06 12:54:43 UTC
(rev 5007)
@@ -102,7 +102,6 @@
for (int i = 0; i < sampleSize; i++)
{
- logOperation(i, "GETS");
final int cycleNumber = i;
Runnable r = new Runnable()
{
@@ -128,6 +127,7 @@
stats.addValue(statValue);
log.debug("The Get stat : " + statValue);
}
+ logOperation(cycleNumber, "GETS");
}
catch (Exception e)
{
@@ -175,7 +175,6 @@
for (int i = 0; i < sampleSize; i++)
{
- logOperation(i,"PUTS");
final int cycleNumber = i;
Runnable r = new Runnable()
{
@@ -212,6 +211,7 @@
long statValue = (System.currentTimeMillis() - startTime);
stats.addValue(statValue);
}
+ logOperation(cycleNumber,"PUTS");
}
catch (Exception e)
{
Show replies by date