--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/j0XgwBpMlLI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Normally in order to dequeue the packet from mac queue we just pass on the mac pointer of the node and the function returns the pointer to the packet. From that it looks like simulator has one instance of the mac queue and it stores packets from each node into that queue. Using this information, If I use the queue function uint32_t ns3::Queue::GetTotalReceivedPackets then it will return the total number of received packet by queue form higher layer of all nodes.In simple words, my question is that Does ns3 simulator create one queue instance for all nodes or create one instance for each node?
For the delay I am planning to add a packet tag before enqueuing and in that tag i can store the current simulator time of queuing the packet. On dequeuing I can extract the tag value and using current simulator time i can calculate the queuing delay experienced by that packet. what are your comments about this method? thanks
--
AnimationInterface anim ("myredtests.xml");
anim.EnableQueueCounters (Seconds (0), Seconds (sink_stop_time));
anim.EnableIpv4L3ProtocolCounters (Seconds (0), Seconds (sink_stop_time));
Sample charts by using NetAnim's Stats tab/Counter tables
its available via
hg clone http://code.nsnam.org/ns-3-dev
hg clone http://code.nsnam.org/netanim
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.