Omnet++ 如何在omnetpp中关闭直方图记录
目前,我正在使用Omnet++(网络模拟器),我知道如何关闭标量和向量记录,但如何对直方图进行同样的操作(关闭直方图记录) 我试图关闭直方图的相关标量,但没有成功Omnet++ 如何在omnetpp中关闭直方图记录,omnet++,Omnet++,目前,我正在使用Omnet++(网络模拟器),我知道如何关闭标量和向量记录,但如何对直方图进行同样的操作(关闭直方图记录) 我试图关闭直方图的相关标量,但没有成功 #### Histogram name #### "Delays for 1st Copy" #### In order to turn of scalars recording we use this command #### **.scalar-name.scalar-recording = true #### So i
#### Histogram name ####
"Delays for 1st Copy"
#### In order to turn of scalars recording we use this command ####
**.scalar-name.scalar-recording = true
#### So i tried this but it doesnt work ####
**.Delays for 1st Copy.scalar-recording = true
谢谢,一个选项是从NED文件中的统计声明中删除
直方图
统计记录模式
@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++手册中找到更多详细信息:一个选项是从NED文件中的统计声明中删除
直方图
统计记录模式
@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++手册中可以找到更多详细信息:那么,如果不指定结果记录的完整路径,它就不起作用了?另外,如果我想部分关闭直方图记录(我的意思是在取消所有其他统计的同时只打开计数和平均),我可以通过放置-min、-max等等来实现吗?那么,如果不指定结果记录的完整路径,它就不起作用了?另外,如果我想部分关闭直方图记录(我的意思是只打开计数和平均,而取消所有其他统计),我可以通过放置-min、-max等来实现吗?