一种选择是从NED文件的统计申报中删除histogram
统计记录模式。
@statistic[foo](record=count,mean,histogram); # remove histogram from here
另一种选择是使从omnetpp.ini
/禁用统计记录模式下面是一些在的OMNeT基本记录模式++
**.result-recording-modes = default # records count, mean
**.result-recording-modes = all # records count, mean, max
**.result-recording-modes = - # records none
**.result-recording-modes = mean # records only mean (disables 'default')
可以具有模式先进的组合通过添加或从基本模式中删除模式:
**.result-recording-modes = default,-vector,+histogram # records count,mean,histogram
**.result-recording-modes = all,-vector,+histogram # --> count,mean,max,histogram
你可能需要的东西,如:
**.result-recording-modes = default,-histogram
要修改特定模块的模式提供
**.fifo[*].queueLength.result-recording-modes = +vector # default modes plus vector
更多细节可在的OMNeT找到**
和result-recording-modes
之间的完整路径++手册:https://omnetpp.org/doc/omnetpp/manual/usman.html#sec405
因此,没有指定完整路径结果记录它不起作用? – HanniBaL90
另外,如果我想部分关闭直方图记录(我的意思是开启计数并意味着同时使所有其他统计信息失效),我可以通过将-min,-max等来做到这一点吗? – HanniBaL90
@ HanniBaL90大概吧,试试吧... – user4786271