I want to measure the following:
1- delay it takes when a source sends a packet to node1 including:
processing, transmission back-off..etc .. so I assume that each node
has own clock or maybe in simulation we do not have this abstraction?
so how can you measure this delay without having the same point of
time?
2- Delay in each hop (forwarder), just the delay it takes to receive
and transmit a packet. in this case we do not need to synchronize.
still not sure if castlia had timestamp in the radio that i can
extract from the packet! or I have to attache it to the packet . Do I
have to timestamp the packet in the mac module or in the network
module ? I am really confused about this issue !!
My understanding is: for hop to hop delay, the timestamp should take
place in the MAC module! not really sure!! but if the goal of this hop
is just to forward the packet, then why should we pass it the network
layer??
Does this make since just to forward the packet and do the timestamp
in the MAC layer??
Also it seems to me that the receiving time and the sending time of
intermediate hop is the same in Castalia?? true? I just wondering if
you timestamp the packet once the application received it, then if you
want to forward it directlly to the next hop. In this case the sending
and the receiving has the same simTIme()????
1- I have to create a field for timestamp in NetworkGenericFram.msg
message Network_GenericFrame
{
fields:
netHeaderInfo header;
// simulation-specific fields
double rssi;
double timestamp;
string currentPathFromSource;
};
2- Suppose I want to use "ByPassRoutingModule" then I have to add the
timestamp into the data frame of the network? Please see the yellow
color!
--
You received this message because you are subscribed to the Google Groups "Castalia Simulator" group.
To post to this group, send email to castalia-...@googlegroups.com.
To unsubscribe from this group, send email to castalia-simula...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/castalia-simulator?hl=en.