vector recording problem

85 views
Skip to first unread message

Behrouz Seyedi

unread,
Jul 12, 2012, 1:34:32 PM7/12/12
to omn...@googlegroups.com
Dear all
I wanna to save vector only for "endToEndDelay" statistic in UDPBasicBurst.
when I write
**.rcvdPk.vector-recording  = true
**.vector-recording = true
all vectors are saved correctly, but when I write
**.rcvdPk.vector-recording  = true
**.vector-recording = false
it doesn't save any vector!
UDPBasicBurst.ned contains this code:

@signal[rcvdPk](type=cPacket);
@statistic[endToEndDelay](title="delay"; source="messageAge(rcvdPk)"; unit=s; record=histogram,vector; interpolationmode=none);

I can't record vector only for this signal. what is the problem?


Michael K.

unread,
Jul 13, 2012, 5:25:17 AM7/13/12
to omn...@googlegroups.com
What worked for me is to be more specific which module should record statistics, like this:

**.hypervisor.tcpApp[0].**.vector-recording = true

**.vms[*].tcpApp[0].**.vector-recording = true


**.HTTPClients.**.tcpApp**.vector-recording = true


**.FTPClients.**.tcpApp**.vector-recording = true


**.trafficGenerators**.tcpApp[0].vector-recording = true


**.trafficController.tcpApp[0].**.vector-recording = true


**.vector-recording = false

Behrouz Seyedi

unread,
Jul 13, 2012, 5:43:54 AM7/13/12
to omn...@googlegroups.com
thanks Michael, but it doesn't work for me :(
how can I record vector only for specific module? I read the manual http://omnetpp.org/doc/omnetpp/manual/usman.html#sec404 but it doesn't work!

tomi

unread,
Jul 13, 2012, 5:49:40 AM7/13/12
to omn...@googlegroups.com
Hi,

Use the name of statistic in the inifile. rcvdPk is the name of the signal, not the statistic.

**.endToEndDelay.vector-recording  = true
**.vector-recording = false

Tomi

Behrouz Seyedi

unread,
Jul 13, 2012, 5:53:43 AM7/13/12
to omn...@googlegroups.com
thanks tomi, but it doesn't work. :(
Reply all
Reply to author
Forward
0 new messages