[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: packets number
Massimo,
Each time a new event is scheduled, it's assigned a unique ID (static
int Scheduler::uid_). Given a large number of events, it may wrap
around and become negative. What is maximum possible int value on
your system (INT_MAX in limits.h)? Is it possible that the number of
events in your simulations exceed that value?
-Yuri
Massimo Pegorer - stage <[email protected]> writes:
> I need to know if there is a limit in number of packets and/or events. I
> run some simulations and have the message:
>
> Scheduler: Event UID not valid!
>
> This happens after a time which seems to depend from the number of
> sources (->packets->events) in the simulations. I've read the code in
> scheduler.cc but I'm not able to understand the problem
>
> I hope for your help!!!
> Thanks,
>
> Max
>
> --
> Massimo Pegorer, student
> Dipartimento di Elettronica e Informatica
> Universita' degli Studi di Padova
> Padova - ITALIA