mirror of
https://github.com/apache/activemq.git
synced 2025-02-17 23:45:59 +00:00
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;
|
int totalCount=0;
|
||||||
for(int i=0;i<producers.length;i++){
|
for(int i=0;i<producers.length;i++){
|
||||||
totalRate+=producers[i].getRate().getRate();
|
totalRate+=producers[i].getRate().getRate();
|
||||||
totalCount+=consumers[i].getRate().getTotalCount();
|
totalCount+=producers[i].getRate().getTotalCount();
|
||||||
}
|
}
|
||||||
int avgRate = totalRate/producers.length;
|
int avgRate = totalRate/producers.length;
|
||||||
log.info("Avg producer rate = "+avgRate+" msg/sec | Total rate = "+totalRate+", sent = "+totalCount);
|
log.info("Avg producer rate = "+avgRate+" msg/sec | Total rate = "+totalRate+", sent = "+totalCount);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user