hi,
thanks for helping, exceuse me for mistake in type question here, but
this code shoud be place in .cc file?
On 9/20/14, Muhsin Atto <
dare...@gmail.com> wrote:
> Hi
>
> These 4 lines of codes can be used for calculating delay for end to end
> packet at the destination node in msec. Assuming that the received packet
> at the application layer at the destination node is (msg).
>
> ApplicationPacket *rcvPacket = check_and_cast <ApplicationPacket*>(msg);
> AppNetInfoExchange_type info = rcvPacket->getAppNetInfoExchange();
> int sequence = rcvPacket->getSequence();
> double delay = 1000 * SIMTIME_DBL(simTime() - info.timestamp) ;
>
> trace()<<" delay for packet # "<<sequence<<" is "<<delay<<endl;
>
> Hope these help you and please when you ask question do not use my personal
> email.
>
>
>
> On Sat, Sep 20, 2014 at 4:57 PM, Maryam Farahani <
mfara...@gmail.com>
> wrote:
>
>>
>> hi,
>> please help me to calculate end-to-end delay in castalia
>> On Saturday, September 20, 2014 9:23:39 AM UTC-4, Atto wrote:
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Hi All, I am recently facing this problem when simulating my old
>>> simulation scenarios. I just got this when trying to rebaplicate my
>>> results
>>> which I have done 2-3 months ago. So I just make copy and past the whole
>>> Castalia folder which was saved in my archive and trying to simulate
>>> and
>>> get the same results again to make some improvments and do more
>>> simulation. But I am facing the error indecated in the subject of this
>>> message. If any one has faced this problem it will be appreciated if he
>>> or
>>> she could help me out please. Muhsin *
>> <
https://groups.google.com/d/msgid/castalia-simulator/d5dd97f8-2a4a-4722-b438-ef739026381c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Castalia Simulator" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/castalia-simulator/C1obfOam8Zg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
>
https://groups.google.com/d/msgid/castalia-simulator/CAGKEhyHzkRWuPMkUW3CyUs-hYfsaA-jXrx21eU2h-XWH%3DrpvWw%40mail.gmail.com.