mirror of https://github.com/apache/activemq.git
sbe in dumpProducerRate()
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476294 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d47855ace3
commit
5f68126945
|
@ -164,7 +164,7 @@ public class SimpleTopicTest extends TestCase{
|
|||
int totalCount=0;
|
||||
for(int i=0;i<producers.length;i++){
|
||||
totalRate+=producers[i].getRate().getRate();
|
||||
totalCount+=consumers[i].getRate().getTotalCount();
|
||||
totalCount+=producers[i].getRate().getTotalCount();
|
||||
}
|
||||
int avgRate = totalRate/producers.length;
|
||||
log.info("Avg producer rate = "+avgRate+" msg/sec | Total rate = "+totalRate+", sent = "+totalCount);
|
||||
|
|
Loading…
Reference in New Issue