reset figures in right order to make counting more likely to be accurate by a little bit :)

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-02-13 14:53:04 +00:00
parent a71a2a5dc0
commit f921ef7f61
1 changed files with 1 additions and 1 deletions

View File

@ -186,8 +186,8 @@ public class JmsBenchmark extends JmsTestSupport {
for( int i=0; i < SAMPLES; i ++) { for( int i=0; i < SAMPLES; i ++) {
long start = System.currentTimeMillis(); long start = System.currentTimeMillis();
receivedMessages.set(0);
producedMessages.set(0); producedMessages.set(0);
receivedMessages.set(0);
Thread.sleep(SAMPLE_DURATION); Thread.sleep(SAMPLE_DURATION);