Re: Patch for nanosecond scheduling precision in ns-3-click
Sascha Alexander Jopen <[email protected]>
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <[email protected]> |
Hey Lalith, i didn't test your changes yet, but after a quick review, i think on ns3 side it is still necessary to have the distinction of the simulator precision in GetTimevalFromNow. The simulator could still have pico- or femtosecond precision, which would lead to the same rounding errors. I will test your changes next week and report back then. Regards, Sascha On 12/31/11 13:46, Lalith Suresh wrote: > Hello all, > > After Sascha raised this issue on the ns-3-users list [1], I tried > making a quick patch to make Click's NS code use timespec, and make > the corresponding changes on the ns-3 side as well. > > I've pushed the changes to my ns-3-click [2] and Click [3] > repositories. Kindly review. I'll push to ns-3-dev once the Click side > changes are applied. Note that this will probably break the ns-2 > patches for nsclick. > > > [1] http://groups.google.com/group/ns-3-users/browse_thread/thread/2be8d60531bd82a8 > [2] http://code.nsnam.org/lalith/ns-3-click-dev > [3] https://github.com/lalithsuresh/click >