Define Time-interval on a node in ns-3.26

13 views
Skip to first unread message

nipa patani

unread,
Feb 17, 2017, 9:40:54 AM2/17/17
to ns-3-users
hello ns-3 users,

I want to divide number of received packets in time interval of  every 30 sec at a receiver node and store in a file for further actions.
I am unable to find solutions in a scheduler class.
My topology is below on which i'm working. Please suggest me if any method to implement interval of last two consecutive time slots of 30 sec on a receiver node.
and to figure out most repeated packets.

Thanks!!


/                        AP
//  *    *    *    *
//  |    |    |    |           10.1.1.0
// n5   n6   n7   n0 -------------- n1   n2   n3   n4
//                         point-to-point |      |      |      |
//                                              ================
//                                                 LAN 10.1.2.0  

Tommaso Pecorella

unread,
Feb 18, 2017, 7:49:50 AM2/18/17
to ns-3-users
Hi,

in the tutorial and manual you'll find many hints on how to schedule a function periodically. There's also some example doing that.

T.
Reply all
Reply to author
Forward
0 new messages