Re: [ns] ns-2.33 Scheduler loosing events

2009-01-19 Thread Sidney Doria
Scheduler uses a simple ordered linked list to store events. You must consider: - memory limits; - invalid pointers (you cannot add an invalid pointer or dealocate it before scheduler remove it from the list); Invalid pointers are the main problem with scheduler. Beyond these concerns, I

[ns] ns-2.33 Scheduler loosing events

2009-01-18 Thread Nicholas Loulloudes
Hi all, Is it possible the ns-2.33 scheduler is losing events? I generated aprox. 7000 events in a TCL source file and a lot of those events when given to the scheduler are lost. This is a code snippet: void ProtName::create_Pkt(Packet* p){ /* * Create a packet with source and destination

[ns] ns-2.33 Scheduler loosing events

2009-01-14 Thread Nicholas Loulloudes
Hi all, Is it possible the ns-2.33 scheduler is losing events? I generated aprox. 7000 events in a TCL source file and a lot of those events when given to the scheduler are lost. This is a code snippet: void ProtName::create_Pkt(Packet* p){ /* * Create a packet with source and destination