void Ieee802154TestApp::handleLowerMsg(cMessage* apMsg)
{
...
simtime_t e2eDelay; Ieee802154AppPkt* tmpPkt = check_and_cast<Ieee802154AppPkt *>(apMsg); e2eDelay = simTime() - tmpPkt->getCreationTime();
e2eDelayVec.record(SIMTIME_DBL(e2eDelay));
....
}
sumE2EDelay += e2eDelay;
meanE2EDelayVec.record(sumE2EDelay/numReceived);
1.- End to end delay vector
2.- mean end-to-end delay
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
e2eDelay = simTime() - tmpPkt->getCreationTime();
getCreationTime)
of the received packet from the current time (simTime
).--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/A3gnGzzu6n4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
A very common model used to arrival packets is the Poisson distribution, this distribution set the mean number of packet per unit time. The Poisson distribution is modeled using a exponential distribution.
Poisson distribution with mean N arrival packet per second, equivalent to an exponential arrival time between packets of mean 1/N
It is the time that the application module Will start to send packets, the use a random distribution is to force that the application module could be not synchronized, in other case, all the app modules will start the transmission exactly at the same time, that is not a very realistic assumption, that all the nodes could start the transmission exactly at the same time
Enviado desde Correo para Windows 10
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/0e2717db-bcf2-4b8c-bef2-b280fabf3270n%40googlegroups.com.