Orlie, Yes, you will need to add a registerStatistics() call to QueueMetricManager and pass a reference to the StatisticRegistrar. You would invoke that call in the initialize() method of the radio model.
Using the StatisticRegistrar reference, you can then register statistics and statistic tables. It should be noted that you can only register statistics and statistic tables during initialize(). -- Steven Galgano Adjacent Link LLC www.adjacentlink.com On 06/10/2015 08:09 PM, Brewer, Orlie T wrote: > Steven, > > I guess that I was assuming that the call to the registerStatistics function > allowed the NeighborMetricManager stats to show up in the emanesh with the > "get table * mac NeighborMetricTable" command. I was wondering if that was > what was needed to get the QueueMetricManager stats like the max queue depth > and the average delay to appear in the emanesh. > > Thanks, > Orlie > > -----Original Message----- > From: Steven Galgano [mailto:[email protected]] > Sent: Wednesday, June 03, 2015 11:16 AM > To: Brewer, Orlie T > Cc: [email protected] > Subject: Re: [emane-users] QueueMetricManager registerStatistics function > > Orlie, > > Currently, the QueueMetricManager does not publish any statistics. If you > have suggestions on some that you would like to see, send a patch or issue a > pull request and we'll take a look. > > -- > Steven Galgano > Adjacent Link LLC > www.adjacentlink.com > > > On 06/03/2015 02:00 PM, Brewer, Orlie T wrote: >> Hello, >> >> As I'm new to this list, I apology if this has been asked before. >> >> Is there a reason that the QueueMetricManager does not have a >> registerStatistics function like the NeighborMetricManager or is it >> something that is planned to be implemented in future? >> >> Orlie Brewer >> >> _______________________________________________ >> emane-users mailing list >> [email protected] >> http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users >> _______________________________________________ emane-users mailing list [email protected] http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users
