with the new release of ns3 i got errors with click scheduling events
after current simulation time. This is because clicks scheduling with
ns3 is always done with microsecond precision, but in the simulator
itself has nanosecond precision per ?default?. I fixed this by rounding
the current simulation time reported to click up to the next
microsecond, but since click supports nanosecond resolution internally,
it may be better to make ns3 <-> click communication that precise too.
Please see the attached patch for a quick fix.
Regards,
Sascha
> Regards,
> Sascha
>
>
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
Hi Sascha,On Wed, Dec 28, 2011 at 8:20 PM, Sascha Alexander Jopen <jo...@informatik.uni-bonn.de> wrote:
Whops, please use this patch, the other one used an uninitialized value.
On 12/28/11 12:02, Sascha Alexander Jopen wrote:
> Hey,
>
> with the new release of ns3 i got errors with click scheduling events
> after current simulation time. This is because clicks scheduling with
> ns3 is always done with microsecond precision, but in the simulator
> itself has nanosecond precision per ?default?. I fixed this by rounding
> the current simulation time reported to click up to the next
> microsecond, but since click supports nanosecond resolution internally,
> it may be better to make ns3 <-> click communication that precise too.
>
> Please see the attached patch for a quick fix.
>Thanks for the patch. I'll give it a spin and get back to you on this.