Bug 191 - Application::Start/Stop, time parameter inconsistent with Simulator::Schedule, Simulator::StopAt(time)->Stop(time)
: Application::Start/Stop, time parameter inconsistent with Simulator::Schedule...
Status: RESOLVED FIXED
: ns-3
simulation core
: pre-release
: All All
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-05-28 11:28 EDT by
Modified: 2008-07-01 13:32 EDT (History)


Attachments
patch to make all times relative (9.02 KB, patch)
2008-05-28 12:26 EDT, Gustavo J. A. M. Carneiro
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-05-28 11:28:37 EDT
Problem described in the mailing list thread "Application::Start/Stop, time
parameter inconsistent with Simulator::Schedule":

http://www.nabble.com/Application::Start-Stop,-time-parameter-inconsistent-with-Simulator::Schedule-td17490805.html

I will cook a patch to make all times relative and remove the At suffixes.
------- Comment #1 From 2008-05-28 12:26:30 EDT -------
Created an attachment (id=139) [details]
patch to make all times relative
------- Comment #2 From 2008-05-28 16:09:44 EDT -------
looks good to me. I assume you reviewed all callers of Application::Start and
Stop to verify that they would still work unmodified with the new semantics ?
------- Comment #3 From 2008-05-29 04:30:18 EDT -------
(In reply to comment #2)
> looks good to me. I assume you reviewed all callers of Application::Start and
> Stop to verify that they would still work unmodified with the new semantics ?
> 

Yes.  This only affects Start/Stop in the middle of a simulation.  At the start
of simulation relative/absolute makes no difference.
------- Comment #4 From 2008-05-29 06:46:45 EDT -------
Committed.