[Ns-developers] Application::Start/Stop, time parameter inconsistent with Simulator::Schedule
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Tue May 27 11:30:09 PDT 2008
On Tue, 2008-05-27 at 13:42 -0400, Joseph Kopena wrote:
> On Tue, May 27, 2008 at 9:44 AM, Gustavo Carneiro <gjcarneiro at gmail.com> wrote:
> > Alas, it's easy to make this mistake since Application::Start/Stop() accept
> > absolute time, while Simulator::Schedule accepts relative time...
>
> I also agree that this is confusing, though most likely doesn't matter
> in almost all cases (i.e., they're scheduled at time 0, so there's no
> difference).
At some point in time, Schedule was using absolute time but that is not
the case anymore because the extra Simulator::Now () was felt to be too
verbose. It would be nice to align Application with this to avoid this
kind of mistake.
Mathieu
More information about the Ns-developers
mailing list